OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Positioning inline objects
This page's ID:
11115
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
just as H][RO asked, 'is there enough room?' Be safe and add width and clear elements to that stylesheet. [code] DIV#footer DIV#left { width:45%; float: left; clear:left; } DIV#footer DIV#right { width:45%; float: right; clear:right; } <DIV ID="footer"> <DIV ID="left">This text is on the left.</DIV> <DIV ID="right">This text is on the right.</DIV> </DIV> [/code] The only problem this might create is the collapsing of the footer div -- as floated elements no longer take up space in the document (in Gecko browsers -- Mozilla, Netscape, Firebird, etc) The only solution I know of is to add a block element under the two floated divs which is set to clear:both. Not a great solution, but the only one I know.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »