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]
|