[thelist] Internet Explorer ignoring margin

Garth Hagerman hagerman at mcn.org
Thu Feb 5 12:54:22 CST 2009


>
> Is this a div with no text in it? I am not sure your problem fits  
> this IE
> bug, but sometimes IE will behave if you put a comment inside the  
> div, here
> is a good one:
> <!-- IE SUCKS! -->
>


The content div has text. The dummy div has nothing in it but a non- 
breaking space entity; that seems to be enough to prevent the margin  
collapse. The dummy div is class="iesux". We clearly agree on something.

  Garth



                            * * * * * * * * * * * * * * * *
                                my online portfolio

                           http://garthhagerman.com/





More information about the thelist mailing list