- From: Matthew Brealey <thelawnet@yahoo.com>
- Date: Wed, 15 Dec 1999 04:37:31 -0800 (PST)
- To: www-style <www-style@w3.org>
Oh, here's another one (and a piece of advice to be included in the spec). 1. All block elements should have margin-left declared on them, even if it is only 0. I have H1 {margin-left: -5%}. The W3c has BODY {margin: 2em;}, overriding my BODY {margin-left: 7%} declaration, but the lack of a margin declaration on H? does not, thereby resulting in the H elements being partially obscured. I hadn't noticed this serious error in the W3c style sheet before due to my own use of IE 3.0 (which interprets margins relative to the left of the canvas), protecting the W3C style sheet from its error. It perhaps seems a little much having to make so many margin-left declarations, and I envisage problems for ever with other equally inconsiderate sites in the future. (I can't just declare a big margin on P and a smaller one on H? because of the all too prevalent slapdash coding that fails to enclose most first children in a block element, and CSS' own lack of any means to refer to these). ===== ---------------------------------------------------------- From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS)) __________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com
Received on Wednesday, 15 December 1999 07:37:32 UTC