 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
Jetsam4996
Joined: 03 May 2008
Posts: 25
|
| Posted: Sun Jul 12, 2009 3:18 pm Browser Detection |
|
|
I have noticed that my website does not display correctly in Internet Explorer 6 or earlier browsers. Is there a way to use JavaScript to detect their browser, and depending on the results, either take them to a warning page telling them that they need to upgrade, or just go directly to the site?
Or am I in the wrong section?
-sam |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 3593
Location: Biloxi, MS
|
| Posted: Fri Jul 17, 2009 6:40 pm |
|
|
There are browser sniffer scripts which can use the right CSS for the browser in question. Best thing is to use a proper doctype, code both syntactically and semantically and validate, validate, validae until you are happy with coding.
Just think, if everyone coded their sites to the standards recommended, there would be no need for browser developers to keep trying to make browsers backward compatible with old coding. Then they could set up developing a highly compliant browser that all would be happy with.
JavaScript Browser Sniffer
Browser Sniffer Script (version 1.1) |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|