W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2008

[whatwg] Bad CSS on the multipage version

From: Křištof Želechovski <giecrilj@stegny.2a.pl>
Date: Wed, 4 Jun 2008 17:52:22 +0200
Message-ID: <28D820FDDF284E1DAE04C6F09F8C1A5D@POCZTOWIEC>
Perhaps it is a bug; but I would not expect it to work anyway.  It does not
seem a good idea to draw the background from the next element by
manipulating the margin.  If you want to have a common background, either
wrap both elements with a div (which would work for background images) or
declare the same background on the first element (which would work for
background colors).

-----Original Message-----
From: excors@gmail.com [mailto:excors@gmail.com] On Behalf Of Philip Taylor
Sent: Wednesday, June 04, 2008 3:44 PM
To: K?i?tof ?elechovski
Cc: whatwg at whatwg.org
Subject: Re: [whatwg] Bad CSS on the multipage version

On 04/06/2008, K?i?tof ?elechovski <giecrilj at stegny.2a.pl> wrote:
> Regarding your page at the URL
>  #the-embed>:
>  [...]
>  Element headings (level 4) are invisible
>  (obscured underneath the following content).

Seems to be an IE CSS bug like in

That case fails in IE7; it works in IE8 (and in recent versions of
Firefox, Opera, Safari, Konqueror).

I don't know if there's a 'proper' way to fix this, but adding
   h4 { position: relative; }
into the page's CSS makes it work correctly in IE7, and doesn't affect
any other browser.

Philip Taylor
excors at gmail.com
Received on Wednesday, 4 June 2008 08:52:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:03 UTC