Forum Moderators: not2easy

Message Too Old, No Replies

minimum and relative heights?

         

aslong

5:53 pm on Mar 7, 2005 (gmt 0)

10+ Year Member



i have a container div that has a height of 100%.

i then have an image inside that container.

at the moment when I resize the browser the container continues getter smaller until it is smaller than the image.

i've tried specifying a height in an image class but it hasn't helped.

basically, in html tables, you specify a relative percentage height, but it doesn't get any smaller than the cell contents.

How can I do that with CSS divs?

Thankyou,

Russell.

aslong

8:26 pm on Mar 7, 2005 (gmt 0)

10+ Year Member



my current version of the page that has the overflow problem is here:

<No URLs, thanks. See TOS [WebmasterWorld.com] and CSS Forum Charter [WebmasterWorld.com]>

[edited by: SuzyUK at 8:34 am (utc) on Mar. 10, 2005]