View Full Version : CSS that only IE can see?

10-09-2007, 07:10 PM
Is there CSS code that can be written that only IE can see?

I ask because I developed a spry header and added a margin-top of 145px so it would be in line with my header graphic. In IE it works great but in FF the margin-top is added to the very top of the page giving it a white area of 145px. So, then I tried removing the margin-top and adding a padding-top of 145px and that looks great in FF but add a big gap below the menu pushing everything after the header down 145px. I can't figure it out and need some fresh eyes to look at it. By the way there is .asp so don't freak out on me. The asp is not the problem it's the CSS.

Will post CSS code if easier.


Did I ever tell you guys how much I hate IE :)

10-09-2007, 07:48 PM
Well, it seems to be working now. That's weird, I tried something I am pretty sure I had already tried, but this time it worked. You got me?

10-09-2007, 08:30 PM
i know what you mean...im ready for ie6 to die

10-09-2007, 08:48 PM
If I was Rambo I would take care of IE with a 50 cal. and maybe a grenade or two.

If I was Chuck Norris, I would look at IE and it would shrivel up and disappear into a cloud of dust.

10-10-2007, 03:28 PM
When the boogieman goes to bed, he checks under the bed for Chuck Norris x-D

10-10-2007, 03:39 PM
LOL - That's great!

10-10-2007, 04:23 PM
I guess I should help you with your original question :)

10-10-2007, 04:37 PM
ahhhh, very nice, very nice.

10-10-2007, 04:48 PM
Actually that's very nice. You can even put in the code to pull an additional Style sheet to use if it is IE. I really like this, thanks!

10-10-2007, 05:41 PM
Yes, conditional statements are great in that aspect. Another way of doing it, is utilizing CSS hacks that only IE understands.