You are here: Conditional CSS Question... « HTML « IT news, forums, messages
Conditional CSS Question...

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация