[tei-council] Styling of TEI <ident> in HTML Guidelines
James Cummings
James.Cummings at oucs.ox.ac.uk
Thu Jan 3 19:12:02 EST 2008
David Sewell wrote:
[...]
> Problem is, the current CSS doesn't handle any of the resulting
> hyphenated ident classes. Here is a list of all of them in use:
>
> ident
> ident-class
> ident-datatype
> ident-feature
> ident-file
> ident-frag
> ident-ge
> ident-kw
> ident-macro
> ident-model.ptrLike
> ident-module
> ident-ns
> ident-pe
> ident-rng
> ident-schema
> ident-schemafrag
> ident-var
>
[...]
> Firefox and Safari support this. The alternative is a tedious
> hand-listing of all of those class values in the CSS,
If this was a significantly longer list, then I might feel that 'tedious
hand-listing' was accurate.
While I recognise the temptation to use the CSS2 attribute selection and would
agree that this was the way to go if the list was a hundred or so, but given
that it is 17 it seems significantly easier and browser backwards-compatible to
just list each one of these.
Just my two pence,
-James
--
Dr James Cummings, Oxford Text Archive, University of Oxford
James dot Cummings at oucs dot ox dot ac dot uk
More information about the tei-council
mailing list