HighDots Forums  

Re: Preventing IE6 from loading stylesheet

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Preventing IE6 from loading stylesheet in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dorayme
 
Posts: n/a

Default Re: Preventing IE6 from loading stylesheet - 04-24-2008 , 06:30 PM






In article <usenet-mail-9EC2CB.15442924042008 (AT) snap (DOT) homestarmy.net>,
Mark Shroyer <usenet-mail (AT) markshroyer (DOT) com> wrote:

Quote:
I just completed a new design for a personal web site. After finishing
the basic CSS stuff and double-checking it in Safari, FF, Opera, et al.,
I put on my war paint and fired up IE7 to figure out what kind of hacks
I'd have to apply. Delightfully, IE7 only needed four or five tweaks
this time around...

But next I opened the test page in my IE6 VM, and it took me a few
seconds to even realize what the heck I was looking at. I could
possibly make it render halfway decently with several hours' work, but
why bother? It's just a crummy personal web page. What I'd like to do
instead is to somehow trick IE6 into not loading any styles whatsoever,
so that the page renders like it would in, e.g., lynx; I have the luxury
of not jumping through hoops for IE6 users here, but I don't feel like
leaving the site non-navigable to them, either.

I know about the <!--[if lte IE 6]>...<![endif]--> thing, but what I
want is basically the logical inverse of that, so that I can prevent IE6
from loading any of my CSS to begin with: some relatively stable way of
making an @import directive or an HTML <link rel="stylesheet"... /
visible to everything *but* IE6.

Any suggestions? Thanks in advance...
Why don't you put the war paint back on and take a good look at your
html and css and see what IE6 is having *so* much trouble with. It might
well be that in doing so, you will unearth issues where you should be
simplifying in the first place. There may be an issue we can help you
with and once identified it could be fixed by an over-riding conditional.

This is what I do sometimes: duplicate the main stylesheet and call it
ie#.css or whatever. Get it operating by the usual conditional method
(in the head to link to it, underneath the one for all the other
browsers).

I then fire up IE and start removing huge chunks of the ie#.css to see
if anything horrible happens. You might be surprised how quickly you
will identify the area of concern.

--
dorayme


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.