[Prev][Next][Index][Thread]

Re: CSS and SGML document formatting



Scott E. Preece writes:
 >  From: Bert Bos <Bert.Bos@sophia.inria.fr>
 > 
 > |  > In particular: Is there material on the extension necessary to
 > |  > transport the semantics now implicit in HTML (e.g. BR is empty and
 > |  > rendered as a line break, H1 is a heading, etc.)?
 > | 
 > | The fact that BR is empty cannot be found in the style sheet, but must
 > | be extracted from the DTD. The fact that H1 is a heading is a semantic
 > | notion that is too abstract for the style sheet. The style sheet can
 > | only try to make the H1 more visible.
 > ---
 > 
 > Still, I would hope that in validating CSS against its implied
 > requirements you would have tried the exercise of expressing the
 > "standard" browser presentation of HTML as CSS rules...

Of course, see the appendix:

http://www.w3.org/pub/WWW/TR/WD-css1#appendix-a-sample-style-sheet-for-html-20


Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/pub/WWW/People/Bos/                      INRIA/W3C
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 93 65 77 71                 06902 Sophia Antipolis Cedex, France


References: