Mark Fellowes wrote:
> In my experiments to learn layout I've run into this problem twice. 
> As you'll see in my code, in the right column I've set the H1 to have a white 
> background
> and the right column itself to have a purple.  
> In Firefox it displays almost correctly, in IE the purple doesn's show 
> through where the blocks of H1 are set.
> Here is the URL:
> 
> http://pamshop.com/Template1/exp6.html

Markup-flaw...

<div id="rightcol">
<h1><!-- a start-tag... ...with no end tag -->
<h1>Main content header</h1>
<h1>Introduction</h1>
<p>rambling</p>
</div>

...where the lonely <h1> will enclose both following <h1> and the paragraph.
Browsers 'error-recovery' for 'text/html' creates the differences you see.

*Never trust html-browsers* :-)

Just get rid of that <h1> start-tag and it will turn out fine.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to