On Jan 15, 2008, at 4:09 PM, Gunlaug Sørtun wrote:
> Jason Pruim wrote:
>
>> One question I did have though... I understand the .content {display:
>> inline;} and the leftColumn {position: relative;} but what does the
>> * html .wrapper {zoom: 1;} do exactly?
>
> It's a 'hasLayout'[1] trigger, and in your case I found the non-valid
> 'zoom' to work best - alternative (valid) triggers tended to have
> negative side-effects. I also had to use the '* html' hack to target
> IE6
> (and below), to avoid conflicts with some of IE7' internal bug-fixes.
>
> Without this 'hasLayout' trigger IE6 seemed to interpret .wrapper's
> dimensions a bit unreliable - changed positions for .wrapper's
> children
> when hovering links - which is a clear sign that IE6 couldn't
> determine
> .wrapper's dimensions and relation to other elements.
>
> Triggering 'hasLayout' means to "lay out" the area of .wrapper -
> "stiffen up IE6' backbone" so it immediately interprets exactly how
> wide
> .wrapper is, and where to position .wrapper's children relative to
> .wrapper's edges. Result: stable rendering.
Haven't had a chance to read all of that website yet, but thank you
for it. It's an interesting read so far! It does bring up the question
as to why exactly Microsoft feels they need to do that :) But I'm sure
I can search the archives, and the web to find out lots of theories
about that! :)
Thank you for taking the time to answer! Always appreciated!
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
[EMAIL PROTECTED]
______________________________________________________________________
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/