Jump to content

IE problem...


CheesierAngel

Recommended Posts

??? Who can solve this?

The expression "clear: right" puts the content under all right floats. But if you only want to clear 1 floats level?
So if you have:

[code]
<html>
<body>
<div style="border: 2px solid red; width: 150px; float: right" class="clearfix">
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/>
</div>
<div style="margin-right: 160px; border: 2px solid green;">
<div style="border: 2px solid blue; width: 100px; float: right">
<br/><br/><br/><br/><br/>
</div>
The quick brown fox jumps over the lazy dog.
<br style="clear: both;"/>
text
</div>
</body>
</html>
[/code]

Then "text" will be displayed under the (red) float. I would like to display "text" at the same height as the blue float.
There is a possible way to work with "overflow" in firefox that works but not at IE. I would really like a possible way to do this at IE, Firefow and Opera.

Any sugustions would be appreciated...
Link to comment
https://forums.phpfreaks.com/topic/28620-ie-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.