Blog

Share this blog : twitter

Feb 2

Written by: IOTAP ::-- Creative Designers Team
2/2/2010 3:47 PM 

This blog provides the solution for "Double Margin Float Bug"

doublemarginbug in IE 

The double margin float bug appears only on below IE7 versions (That is IE6, IE 5). The below example clearly explains the solution for this Double margin bug.

 

 

#content

{   float:left; margin-left:30px;    }         /* This takes double the margin value in IE6 */  

 

In order to fix this bug we should use the display property with the value as inline

 

 

#content

{   float:left; margin-left:30px; display:inline;    }         /* This works fine in all the browsers */  

 

Cheers,

Kumz

Copyright ©2010 IOTAP ::-- Creative Designers Team

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 


 
 
 

IOTAP is an IT Consulting and Software Services Company with global delivery centers in Mumbai and Chennai, India. We are a Microsoft Gold Certified Partner and use products and technologies like Dynamics CRM, SharePoint, Silverlight, and the .Net platform to create solutions that help our customers connect, communicate and collaborate effectively