CSS3 PIE Forums
http://css3pie.com/forum/

Margin-top
http://css3pie.com/forum/viewtopic.php?f=3&t=1748
Page 1 of 1

Author:  silko [ Thu Aug 09, 2012 5:40 am ]
Post subject:  Margin-top

Hi
I have the below code but for some reason in IE7 only it ignores the margin-top: 20px . It works ok in IE8 , please can someone help me

Thanks

Code:
<body>

<div class="navbar container">
       
        <div class="row-fluid">                   
          </div><!--/row-fluid -->
         
   <div class="well down">
        </div> <!--end well-->


</div> <!--end navbar container-->
</body>



Code:

.well{

   text-align: center;
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   border-radius: 10px;
   background: #ffffff;
   min-height:20px;
   margin-bottom:20px;
   border:1px  #eee;
   border:1px rgba(74,153,97,1);
   -webkit-box-shadow: 0px 0px 2px rgba(74,153,97,1);
   -moz-box-shadow: 0px 0px 2px rgba(74,153,97,1);
   box-shadow: 0px 0px 2px rgba(74,153,97,1);
   
   margin-top: 20px ;

   margin-right: 10px;
   margin-left: 10px;
   padding-right: 29px;
   padding-bottom: 17px;
   padding-left: 32px;   

   behavior: url(../shoehouse/PIE-1.0.0/PIE.htc);
}

Author:  jason [ Thu Aug 09, 2012 9:42 am ]
Post subject:  Re: Margin-top

This is due to a bug in IE related to hasLayout: http://css3pie.com/documentation/known- ... #hasLayout

Best recommendation I have is to work around it using something other than margin-top.

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/