Reply to Re: variable <div> height

Your name:

Reply:


Posted by dorayme on 12/18/06 21:59

In article
<1166477507.629107.287140@j72g2000cwa.googlegroups.com>,
"marc" <marc6531a@mail.com> wrote:

> Dear fellow webdesigners,
>
> Does anybody has any idea to solve the following?
> I am desingning a website that uses a <div> to place
> a border around the content. The idea is that the div
> will be 500 px high or more if needed due to textsize.
> I can get it more or less ok with
>
> .centerIn {padding:1px; min-height:500px; height:500px;}
>
> in the css file but the trouble is that if the character
> size of the browser is too large the text will flow out
> of the assigned space but the border ofcourse remains at 500 px.
> Does anybody have any idea?
>
> thanks in advance,
> Marc

Typical trouble of coping with text size within px containers.
You could try to design with em based dims for the container, it
then grows with the text size.

--
dorayme

[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

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