John Zaitseff wrote:
> http://www.zap.org.au/~john/web/test-css/test.html

> The problem is that the word "Subheader" is displayed with additional
>  padding under IE6/IE7, as if a "padding-top: 0.75em" appeared 
> somewhere.

It's a version of IE's old whitespace bug.

> Now for my question: does anyone know of or can think of a way to 
> achieve the same result WITHOUT using the inner <p> tags?

No paragraphs or tricks needed if you add a couple of _well-placed_
'hasLayout'[1] triggers in order to kill that IE bug.

Don't spread 'hasLayout' triggers around, as the 'Layout' behavior is in
itself an IE/win bug, and it can be just as troublesome if it is
triggered in the wrong places.

#header, #header div.subheader {height: 1%;}
...will do just fine - also if you keep the paragraphs in there.

regards
        Georg

[1]http://www.satzansatz.de/cssd/onhavinglayout.html
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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