> By looking at the comments in the document it seems like English isn't
> your first language. With respect - When you read
> http://www.satzansatz.de/cssd/onhavinglayout.html
>   did you understand it? I appreciate that it may contain some
> reasonably complicated language for a non-native speaker.

I understand if I study it, but it's not immediately understood when I read
it. :) 

> Have you *really* tried several hasLayout workarounds? It's very clear
> from the document what triggers hasLayout. You can use the IE web
> developer toolbar to inspect any element and check whether or not it
> has layout.

I will get Developer Toolbar. Not I have not really tried. I just throw them
away, because, understand then, requires several days on studying. Days that
I don't have now. I have use zoom for example, but I haven't use clear. I
have use height and overflow, but I just realize it doesn't work to shrink.

 
> Line 158 states that it is aimed IE6, therefore it should be inside
> the conditional comment for IE6.

And I will put inside conditional comments, however, since I'm always adding
and removing lines of code, is just not practical. 
At the moment the code just needs to be "clean up" and sorry for that,
because I know it's harder do read.


> 1. Remove line 158 (width: 100%).
> 2. Add the following inside your IE6 conditional comment
> 
> #navcontainer {
>       zoom: 1; /* gives it layout */
>       clear: both;  /* self explanatory????? */
> }
> 
> http://snadden.com/sandbox/layout8_ups.html
> 

Thanks. I will give it a try.

> Some people avoid zoom as it is invalid CSS. I am a wholehearted
> supporter of standards and always ensure that my HTML/CSS is valid,
> but when it comes to Internet Explorer my approach is that it gets
> what it deserves. Anything to make it render correctly is fine in my
> book as long as it's in a conditional comment so that the main
> stylesheet isn't polluted by IE nonsense.

I do agree. And I see no harm on using zoom when placed on a proper IE
comment. 


Thanks a lot,
Márcio

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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/

Reply via email to