For
spwebdesign
Aug. 9th, 2009 07:53 pmI came across this website that is dedicated to eradicating IE 6, and thought of you. Only problem is, when I go to the site that has the code to display the anti-IE6 banner, I can't figure out how to use it. Any thoughts?
no subject
Date: 2009-08-09 09:02 pm (UTC)What about the code can't you figure out? You should just be able to drop it anywhere into the body of your website. I would, however, make a couple of small modifications. After all, there's no reason to stick bad, bloated code in your web pages!
First, if you don't have an IE6 stylesheet, create a file called no-more-ie6.css. Then, towards the bottom of the
<head>section of your html file, stick the following snippet of code:(The value for href should be the path to no-more-ie6.css.)
Add the following lines either to your existing ie6 stylesheet or to no-more-ie6.css:
Finally, into the body of your html file, preferably towards the top, place the following chunk of code:
You'll have accomplished exactly the same thing, but the code is much cleaner, not needlessly repetitive, and will only be downloaded if you are using IE6 or below.
no subject
Date: 2009-08-09 09:12 pm (UTC)no subject
Date: 2009-08-09 09:38 pm (UTC)no subject
Date: 2009-08-09 09:55 pm (UTC)