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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.