You are here: Re: div height issue « HTML « IT news, forums, messages
Re: div height issue

Posted by Neredbojias on 01/21/06 04:19

With neither quill nor qualm, mark.olszowka@gmail.com quothed:

> My Goal
>
> Creat a page consisting of a floating, centered, content section whose
> background is a different color than the background of the page itself

What you're basically talking about is the vertical centering of small
content. As far as I know, there is no way to do this absolutely
perfectly in the 3 currently most-popular browsers using the same
markup, especially under the auspices of the existing standards, but one
can get close.

The best I've come up with so far is at:

http://www.neredbojias.com/zexae/vcscex.html

Notice there is no doctype, and there shouldn't be.

Now, if you want the inner container to extend to 100% height (re.
background) even with lesser content, you will probably have to use
another table, which gets hairy. But experiment. That's how solutions
are discovered.

--
Neredbojias
Contrary to popular belief, it is believable.

 

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

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