|
Posted by dorayme on 03/12/07 19:38
In article <ifnfc4-v89.ln1@ophelia.g5n.co.uk>,
Toby A Inkster <usenet200703@tobyinkster.co.uk> wrote:
> Adrienne Boswell wrote:
>
> > It depends on the circumstance. For example, say I have DT styled as
> > bold in the external sheet, but on one page on the site, I want it
> > italics instead - in that case, I would use put the style in the head on
> > that page only.
>
> Some might argue that a better approach would be to add a class to your
> BODY element such as:
>
> <BODY CLASS="special_definition_lists">
> ...
> </BODY>
>
> and then add your styling to the main style sheet. One page with special
> definition lists tends to lead to two such pages, or three, or...
>
> Personally, I'd consider both methods on a case-by-case method. Each has
> advantages and disadvantages.
This is interesting, I am constantly facing the situations
envisaged by Adrienne and more or less was half doing what she
outlined, half by making special classes on a/the main sheet. But
your suggestion is more powerful, to target the body.
--
dorayme
[Back to original message]
|