OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Adjacent DIV Problem
This page's ID:
11073
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
Skaarj - the same problem will still persist. It's an issue with floating and unspecified widths. 100% doesn't do what it used to unfortunately. You'll notice that if you add a border or background color to the paragraphs, they actually extend behind the photograph as well - that's the way it works with a floated element. So, if you just nest the divs, it will continue to work the same way. The problem arises when Mozilla or Opera are presented with another floated object with no width specified. It doesn't know how large to make it, and so it makes it fill all the available space (which in this case, because the photo-left div is floated, is the whole screen width, and it bumps it down). It is a very illogical reaction all in all... There are solutions involving 2 columns, but I assume this is a test of items that will be incorparated into a non-columned layout.... How a table will react in this situation I am not sure. Logic would say that it too will extend behind the photo, but tables act differently than other elements, so it might work out ok.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »