hmm.. I don’t get it.. I downloaded cssQuery2.zip I unzipped it and loaded the test page.. I’m totally lost
the easiest solution i know is to write a seperate stylesheet for ie6 and target in the <head> of the ducument with a comment like the following:
<!--[if IE 6]><link rel="stylesheet" href="css/screen_ie6.css" type="text/css" /><![endif]-->
Here my ie stylesheet is called ’screen_ie6’ and is in the ’css’ directory.
just make sure that you put this call after the call to the main stylesheet.
In the ie6 only stylesheet you include only the ie6 bug fixes, like different padding values etc. It works for ie7 too - you just make a similar call in the head but just put [if IE 7]
i’ve been using this method for a while now and it works fine. Only ie sees these comments - all other browsers ignore them.
hope this helps
-
MODX Staff
- 2,502 Posts
@fruitwerks
rootsdiv is right in using IE conditional comments. It is the most effective and least difficult way to handle those issues that only creep into IE6 rendering of elements--especially those relating to boxes and padding.
Learning some of the most common IE6 issues, like the Guillotine Bug, 3Pixel Jog and others that have to do with floats. You should make
http://www.positioniseverything.net/ your friend when doing crossbrowser testing.
Best of luck.
Jay
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub