Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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,

Re: variable

In article

Quoted text here. Click to load it

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.


Re: variable

marc wrote:

Quoted text here. Click to load it

Take out "height: 500px".

(Put it in an IE6 and lower stylesheet (see conditional comments) if you
want to fake min-height there).

David Dorward       < <
                     Home is where the ~/.bashrc is

Site Timeline