Re: Netscape's SPACER

Arnoud Engelfriet writes:

 > > The "display: inline" part in the above examples is there because BR
 > > is normally a block-level element. One can avoid this annoyance by
 > > using an inline element, but then an end tag is required:
 > 
 > Is it? Then why is it listed in the Wilbur DTD in the "special" group
 > of character-level elements, together with FONT, A, APPLET and IMG?

Whether an element is formatted as block or inline is up to the style
sheet. The DTD may want to group certain elements for convenience --
they probably behave the same way in the structure. This does not,
however, imply that they behave the same way in the layout. The style
sheet is in charge of the layout (assuming you use a styled browser) and
if it wants to change 'H1' to be inline, so be it.

Regards,

-h&kon

Hakon W Lie, W3C/INRIA, Sophia-Antipolis, France
http://www.w3.org/people/howcome  howcome@w3.org

Received on Wednesday, 17 July 1996 10:08:49 UTC