clear property is not working in ie 7

Posted by Mayur on Stack Overflow See other posts from Stack Overflow or by Mayur
Published on 2010-06-03T11:00:46Z Indexed on 2010/06/03 11:04 UTC
Read the original article Hit count: 219

Filed under:
|

Hi all,

I m using a div in my web site by using float:left and float:right after that is used clear:both, its working fine in all browser except ie7 i have tried a lot of things please tell me a solution to resolve this problem....

css:

.clear { clear : both; margin : 0px;

}

html:

  <div style="float:left">some text</div>
  <div style="float:left">some text</div>
 <div class="clear"></div> 
  <div style="float:left">some text</div>
 <div style="float:left">some text</div>

Thanks

© Stack Overflow or respective owner

Related posts about html

Related posts about css