Reply to Re: Web Design and Web Development

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация