Ehsan Mahpour’s Weblog

Floating Problems

by mahpour on Oct.26, 2006, under HTML/CSS Tips

Today I faced with a common issue of using floating html elements on the pages that you may have experienced before.Lets see it in a sample screenshot:The Problem:The right image is floated to the right side of page and the yellow container floats over it :

Before

The Solution:

< img runat="server" style="width: 100%; height: 1px; clear: both; float: none" xsrc="~/images/spacer.gif" mce_src="~/images/spacer.gif" />

After

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...