Reply to Re: CSS layout question

Your name:

Reply:


Posted by BootNic on 05/18/07 21:43

> JWL <user@example.net> wrote:
> news: 5b62l0F2rmsfcU1@mid.individual.net
[snip]
> Thanks for answering. But even with clear: both; on #content, the
> #navbar div appears to collapse. You can see what I mean here:
>
> http://www.sarroukhs.f2s.com/index.html
>
> The #navbar div has a bright red background but the colour isn't
> visible unless I put a height on #navbar.

Add overflow:hidden; to #navbar may produce the desired effect
you are looking for.

A conditional comment for IE<7

<!--[if lt IE 7]>
<style type="text/css">
#navbar {
display:inline-block;
}
</style>
<![endif]-->

--
BootNic Friday, May 18, 2007 5:43 PM

All my humor is based upon destruction and despair. If the whole
world was tranquil, without disease and violence, I'd be standing on
the breadline right in back of J. Edgar Hoover.
*Lenny Bruce US comedian, satirist, author*

[Back to original 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

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