Maxim Soloviev wrote:

> http://ares-pearl-b1.nakea.net/ Could you please help me figure out 
> why text looks soooo big in IE6/7/8.

Flawed markup in header. A span is not an empty, self-closing, element,
and, unlike most other browsers, IE can't treat it as if it was and
recover from this flaw.
The result is that "font-size: 20pt" is applied to all text following
the header in IE/win, apart from the headlines that have font-size
defined in the stylesheet. 20pt is indeed quite large.

This is flawed...

<p><strong><span style="font-size: 20pt"><span style="color:
rgb(255,255,255)" /></span></strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong><span style="font-size: 20pt"><span style="color:
rgb(255,255,255)" /></span></strong><span style="font-size: 20pt" /></p>
</div>

...and should be corrected to this...

<p><strong><span style="font-size: 20pt"><span style="color:
rgb(255,255,255)"></span></span></strong></p>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong><span style="font-size: 20pt"><span style="color:
rgb(255,255,255)"></span></span></strong><span style="font-size:
20pt"></span></p>
</div>

The HTML validator doesn't flag the error because it checks the markup
as if it was properly served XHTML - following XML rules where such
self-closing of most elements is allowed. IE/win doesn't support
properly served XHTML and has no idea about such rules, and your
document isn't properly served XHTML anyway - it is HTML.



Note that once the markup flaws are corrected, all font-sizes you have
defined in pixels in the stylesheets kicks in. This means IE/win can't
resize the text.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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/

Reply via email to