Posted by Andrew on 01/31/07 07:46
Hi,
More so than I can come to grips with conditional comments I have tried
and failed to set some css for IE5. The page containing the css can be
seen:
http://people.aapt.net.au/~adjlstrong/
I understood that by specifying:
<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="ie5.css" />
<![endif]-->
I would include all versions of IE whose version numbers started with 5,
and that the following simple css would center the main div on the page:
body {text-align: center;}
#content {text-align: left;}
but it does not work!! What am I doing wrong?
Thanks to anybody who can clear this up for me,
Andrew
--
The STRONG Family Web Site
http://www.strong-family.org
Navigation:
[Reply to this message]
|