For [livejournal.com profile] spwebdesign

Aug. 9th, 2009 07:53 pm
chrishansenhome: (Default)
[personal profile] chrishansenhome
I 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?

Date: 2009-08-09 09:02 pm (UTC)
From: [identity profile] spwebdesign.livejournal.com
Thanks for that. A similar website, http://www.bringdownie6.com/, inspired my post last night.

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.
Edited Date: 2009-08-09 09:11 pm (UTC)

Date: 2009-08-09 09:12 pm (UTC)
From: [identity profile] spwebdesign.livejournal.com
Sorry about the edits. I didn't want the formatting of my comment to screw up the layout of your blog, so I had to go back and fix it.

Date: 2009-08-09 09:38 pm (UTC)
From: [identity profile] chrishansenhome.livejournal.com
Thanks...I've done all that. Of course, as I use Firefox, and don't have IE 6 on the computer, how do I check that it works OK in IE 6 again??

Date: 2009-08-09 09:55 pm (UTC)
From: [identity profile] spwebdesign.livejournal.com
Well, you could remove the IE conditional tags to see what it looks like in Firefox. You could go to http://www.xenocode.com/browsers/, download the Spoon plugin, and use a remote version of IE6. Or you could send me a link to the pages you've posted this on and I could check for you.

October 2019

S M T W T F S
  123 45
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 9th, 2026 11:29 am
Powered by Dreamwidth Studios