You are here: Re: Width of tables next to float « HTML « IT news, forums, messages
Re: Width of tables next to float

Posted by Chris Hughes on 08/29/07 10:25

Personally, I'd forget about the conditionals.

Setting display: block on a table should make it consume the entire
width on all browsers (I use it all the time on my own site). Setting
width: 100% conditionally on other browsers just makes it more
complex, and is ultimately redundant.

My personal opinion about relying on browser quirks (e.g. html * blah
{ ... }) is to avoid them at all costs, because you end up with
stylesheets that are difficult to maintain or even make sense of
unless you're a CSS guru. But take my comments with a grain of salt,
because I generally only support IE6 and above plus recent versions of
FF, Safari and Opera.

Chris
http://webdevfu.com

 

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

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