OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
height of a DIV nesting some other DIVs
This page's ID:
11099
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
This happens as a result of the float. In this context, it may not make sense, but in the intended use of floats (things like a photograph floated in a paragraph of text...) it makes perfect sense. All you need to do is, after the third column div, add a <br class="clear"/> and in your CSS define this for the class of "clear": .clear { clear:both; } The clear:both; breaks the float of the preceding divs, and the container will then expand to encompass all of them. Or you can simply define clear:both; in your CSS for the 'fourth header', but I prefer to make a class that you can throw in anywhere. {{edit - discussion of the same issue at the GN: [url=http://development.gurusnetwork.com/discussion/thread/2220/]http://development.gurusnetwork.com/discussion/thread/2220/[/url] }} [This message has been edited by DL-44 (edited 11-14-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »