ID:17506
 
Keywords: css, failed
As most of you know, I rather dislike IE, and as such, I have killed support for it on my Blog. Well, in the interest of boredom, I have added support back in, but with a disclaimer, view this page in IE to see it.

How it works is simple, a CSS conditional state checking to see what browser is viewing the page. Just simply add <!--[if IE]> into your CSS, then the IE specific CSS code to fix what IE freaks out on, then close it with <![endif]-->. Pretty simple, no?

<--[if IE]>
position:relative;
<![endif]>

That was placed in the header bar CSS, after the position:fixed; bit.

[edit]Well, seems it isn't working as well as I wanted...[/edit]
I see it in both Firefox and IE.
Same
Yeah, I just edited it noticing that, seems I am an idiot expecting <!-- --> comments to workin in CSS, which is just a silly thought.
Same.
After a bit more searching, it seems there is nothing close to <!--[if IE]> for directly in CSS, so it seems I am going to have to make a feature request about using <!--[if IE]> to send IE to another CSS to all people to support FireFox while still allowing IE people to view their pages...
Scooby wrote:
view this page in IE to see it.

...And did I ever mention how much I hate sites that force you to view their page in IE to see all of the content?