W3C home > Mailing lists > Public > www-html@w3.org > January 2001

RE: UL - Block or Inline?

From: Dave J Woolley <david.woolley@bts.co.uk>
Date: Wed, 31 Jan 2001 19:35:46 -0000
Message-ID: <81E4A2BC03CED111845100104B62AFB50102A440@stagecoach.bts.co.uk>
To: "'www-html@w3.org'" <www-html@w3.org>

> From:	pdf@bizfon.com [SMTP:pdf@bizfon.com]
> Am I looking in the wrong place?
The definitive place is the DTD, taken in this
case from the HTML 4.01 specification (PDF version) -
<http://www.w3.org/TR/html4/sgml/dtd.html> for the HTML

<!ENTITY % list "UL | OL">

<!ENTITY % block
"P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |

	[DJW:]  It's defnitely a block element.

> The reason I ask (off topic) is because I notice strange behavior (in IE
> and
> Netscape) with lists when there is an item floated to the left of the
> list, and
> I wanted to get a better understanding of where the list marker (the disc,
> etc.)
> fits into the picture, so that I might find a work around for existing
> agents
> that display it incorrectly.
	You might want to note that list items are treated 
	as a special case in CSS, i.e. neither block nor inline.
--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.

Received on Wednesday, 31 January 2001 14:36:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:45 GMT