|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
css
I don't know why css doesn't function height 100%, unless you put many contents inside of box and setting the box height 100% without using absolute, the chunky text content will push the height down to the bottom. But I still want to challenge css with this question.
Beckmann |
|
#2
|
||||
|
||||
|
... What?
100% height isn't "fill the rest of the container" height. 100% height makes a "box" (I'm interpreting this as you meaning a div) the full height of the parent container. So if you have a "box", fill it half way with text, then make another "box" inside of it at 100% height, the "inner box" will be the height of the "outer box", and extend past the bottom of the "outer box". Why? I don't really know either. That's just how it is.
__________________
Proud member of the T.S.N.B.U.F.L (tables should not be used for layout) alliance. "Only use elements for their intended purpose. You wouldn't try to make coffee with a telephone, would you?" -Me |
|
#3
|
|||
|
|||
|
|
|
#4
|
||||
|
||||
|
What kind of thread subject is "css". Please read "How to post a question!" (link in sig) before posting again. Take a little time to make decent, descriptive thread subjects please.
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#5
|
||||
|
||||
|
Quote:
And a decent descriptive thread body would be nice while you're at it... |
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
|||
|
|||
|
100% height using CSS
Here you'll find a bulletproof method for 100% in CSS, working in all browsers:
http://www.bzabza.com/articles.php?ID=1 |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > css |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|