This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] Website: Why no media attribute for style?


At 02:41 31/01/2004, Denis Bradford wrote:
There's probably a good reason why website.dtd includes only the src and
type attributes for the style element in the document head? Can somebody
enlighten me?

W3C specifies the media attribute for the style element.
http://www.w3.org/TR/REC-html40/present/styles.html#h-14.2.3 gives the
following example:

<HEAD>
 <STYLE type="text/css" media="projection">
    H1 { color: blue}
 </STYLE>


It does allow you to specify external CSS,
which is just as effective.

HTH DaveP



To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]