On 9/09/2011 10:14 AM, David Laakso wrote:
On 9/7/11 11:15 PM, John wrote:
re:
<http://www.coffeeonmars.com/testing/index.html>
/*4ie7*/
*:first-child+html #TextHead_Home { margin-top:58px }
/*4ie6*/
* html #TextHead_Home { margin-top:58px; }
* html #BannerText { position: absolute; top:0; left:67px; }
reference:
<http://www.satzansatz.de/cssd/onhavinglayout.html>
Best,
~d
This has nothing to do with hasLayout (the static box does not have
hasLayout in the below demo). IE7 will work as it should if there was
one less float (see float 2 in the below demo) in the source where IE6
would still have trouble since overflow: auto does not trigger
hasLayout. Test case.
http://css-class.com/test/bugs/ie/5~7/margin-top-after-floats.htm
John, if you have IE8 or IE9, you can use the developer tools to show
IE7 emulation mode. Select the key 'F12' at the top of your keyboard.
Here is IE6 (on the left) and IE7 (emulation mode) side by side.
http://css-class.com/x/coffee-ie6-ie7.png
--
Alan Gresley
http://css-3d.org/
http://css-class.com/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/