> I have a restructuredtext generated site that now looks as intended in > firefox, but not in the IE > that is installed with Win2K. IE seems to ignore the css positioning of a > list and an image hyperlink. > > http://ecosensory.com/
Hi John, You can use this syntax to target all NON-MSIE browsers: <!--[if !IE]> <--> <style type="text/css">@import url("css/fix/non_msie.css");</style> <!--> <![endif]--> Use this syntax to target ALL MSIE browsers: <!--[if IE]> <style type="text/css">@import url("css/fix/all_msie.css");</style> <![endif]--> And this will target specific versions of MSIE browsers: <!--[if IE 6]> <style type="text/css">@import url("css/fix/msie_6_0.css");</style> <![endif]--> <!--[if IE 7]> <style type="text/css">@import url("css/fix/msie_7_0.css");</style> <![endif]--> CSS in the last three will not be seen by the validator, the first one will (the non-msie syntax). This is important if you care about validation. Additionally, this sort of technique has advocates and opponents. It uses two semi-frowned-upon approaches: 1. Proprietary syntax. 2. Browser sniffing. I use it because it also one of the most failsafe methods for targeting the two type of browsers: Nice, standards-compliant, user and developer friendly browsers...and anything made my Microsoft. Hope it helps. --Bill Brown TheHolierGrail.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/