PDA

View Full Version : Old Browsers


pinky
05-04-2011, 05:49 PM
I discovered that my SD3 sites often look positively awful when viewed in an old browser. Rather than put up a permanent announcement about the best browser to use, and hating pop ups I tracked down a neat code that is simply ignored by modern browsers but displays a message at the top of the website page in <IE7.

I thought I would share ~ simply insert it in the <head> of your css header section


<!--[if IE 6]> our website is optimsed for a newer browser than the one you are using - you may therefore not enjoy the best experience during your visit ... dont blame us!!<![endif]-->



Martyn

CleanDesignDk
05-09-2011, 01:45 PM
Well, that is nice, but can this be styled to look like a real drop-down, pop-up ??

So it don't just show the text in the top of the page ( which again makes the website look awful :P )

pinky
05-10-2011, 12:29 PM
Well, that is nice, but can this be styled to look like a real drop-down, pop-up ??

So it don't just show the text in the top of the page ( which again makes the website look awful :P )

I have no clue how to achieve that ~ but if the site looks bad already due to rubbish browser choice then an extra but of horrble looking text wont make it look verymuch worse ;)

Martyn

Tobias
05-10-2011, 02:15 PM
Try this for styling: :)
<!--[if IE 6]><div id='error_message'>Your browser is broken! Try again!</div><![endif]-->

CleanDesignDk
05-11-2011, 08:23 AM
Try this for styling: :)
<!--[if IE 6]><div id='error_message'>Your browser is broken! Try again!</div><![endif]-->

Tobias... you are a life saver :P (or maybe my next screensaver :P )