- From: Henri Sivonen <hsivonen@niksula.hut.fi>
- Date: Sun, 31 Mar 2002 17:33:05 +0300
- To: www-style@w3.org
On Sunday, March 31, 2002, at 03:32 , Nicholas Atkinson wrote: > <ul style="background: red;"> > <li>Unordered List Item</li> > <li>Unordered List Item</li> > </ul> > > The background of the list item text will obviously be red. But > there will be a left-hand margin and bullet generated before each > list item text. Should the background of this bullet and left-hand > margin be red or the background colour of its parent block? It depends on the margins and padding of the <ul> and <li> elements. > In IE 6 and Opera 6.01 (on Windows) the bullet and margin do not > have a red background. But in Netscape 6.1 (on Windows) > the background of the bullet and margin is red. > > Who is correct as per the spec? Both when you leave the padding and margins up to the UA stylesheet, because there is no normative UA style sheet. See http://www.subotnik.net/style/list-box-test.html -- Henri Sivonen hsivonen@niksula.hut.fi http://www.hut.fi/u/hsivonen/
Received on Sunday, 31 March 2002 09:34:10 UTC