[uf-discuss] ISO Dates and Durations using Style
Toby A Inkster
mail at tobyinkster.co.uk
Sat Sep 27 15:27:02 PDT 2008
> If any style sheet language can be used, why don't microformats create
> their own style language eg:
> <span class="bday" style="bday.1968-01-04">4th Jan, 1968</span>
By definition, the contents of the style attribute must be in "the
default style sheet language". The default style sheet language is by
definition CSS unless a Content-Style-Type header (either HTTP header
or <meta http-equiv>) is present. There can only be one default style
sheet language per document, thus any document which wants to use a
non-CSS style sheet language in the style attribute cannot use CSS in
the style attribute. (That is, you can't use CSS in some style
attributes and non-CSS on others.)
--
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>
More information about the microformats-discuss
mailing list