html - CSS Height:100% issue -


i'm trying div wrapper surround divs within depending on amount of content height of wrapper grow.

i guessed way of doing set height: 100% can see screen grab below, not case.

screengrab of height:100% issue

where says 'no :-(' having height: 100% doing ideally wrapper @ bottom says 'yes' , have drawn red line.

any appreciated.

if using floats, giving container overflow:hidden might fix problem. if no fixed size given div, makes stretch on floated elements.

if have absolutely positioned elements inside container, see html/css solution.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -