[whatwg] Bad CSS on the multipage version

2008-06-04 Thread Křištof Želechovski
Regarding your page at the URL http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level.html #the-embed: The following declaration is bad and wrong: Is: margin-top: -2.5em Should be: margin-top: -2.5ex Wrong: A horizontal unit is applied to a vertical measure Bad: Element headings

Re: [whatwg] Bad CSS on the multipage version

2008-06-04 Thread Křištof Želechovski
Well, whatever the EM stands for, the rule hides the headings from viewing in Internet Explorer, whereas the rule with EX makes them reappear. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anne van Kesteren Sent: Wednesday, June 04, 2008 12:32

Re: [whatwg] Bad CSS on the multipage version

2008-06-04 Thread Anne van Kesteren
On Wed, 04 Jun 2008 12:25:28 +0200, Křištof Želechovski [EMAIL PROTECTED] wrote: Regarding your page at the URL http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level.html #the-embed: The following declaration is bad and wrong: Is: margin-top: -2.5em Should be: margin-top:

Re: [whatwg] Bad CSS on the multipage version

2008-06-04 Thread Anne van Kesteren
On Wed, 04 Jun 2008 12:39:31 +0200, Křištof Želechovski [EMAIL PROTECTED] wrote: Well, whatever the EM stands for, the rule hides the headings from viewing in Internet Explorer, whereas the rule with EX makes them reappear. It sounds like a bug in your browser. Did you test other browsers

Re: [whatwg] Bad CSS on the multipage version

2008-06-04 Thread Křištof Želechovski
Dear Anne: I do not think you can accuse Microsoft of letting a bug in EM. Things like EM and EX are very GUI-dependent. I do not have enough time and devotion to keep several browsers up to date. (I admit I have Safari installed but I understand it should not be used until fixed according

Re: [whatwg] Bad CSS on the multipage version

2008-06-04 Thread Philip Taylor
On 04/06/2008, Křištof Želechovski [EMAIL PROTECTED] wrote: Regarding your page at the URL http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level.html #the-embed: [...] Element headings (level 4) are invisible (obscured underneath the following content). Seems to be an

Re: [whatwg] Bad CSS on the multipage version

2008-06-04 Thread Tab Atkins Jr.
On Wed, Jun 4, 2008 at 8:43 AM, Philip Taylor [EMAIL PROTECTED][EMAIL PROTECTED] wrote: On 04/06/2008, Křištof Želechovski [EMAIL PROTECTED] wrote: Regarding your page at the URL http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level.html #the-embed: [...] Element

Re: [whatwg] Bad CSS on the multipage version

2008-06-04 Thread Křištof Želechovski
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