You are here: Re: Web Design and Web Development « HTML « IT news, forums, messages
Re: Web Design and Web Development

Posted by Joe (GKF) on 03/14/07 23:58

In article <Xns98F1DFA5396A6arbpenyahoocom@69.28.186.121>,
arbpen@yahoo.com says...
> Gazing into my crystal ball I observed "Jonathan N. Little"
> <lws4art@centralva.net> writing in
> news:7b3d8$45f562df$40cba785$22854@NAXS.COM:
>
> >> 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.
> >>
> > For "one-pagers" sure, but for a multi-page site...
> >
>
> Exactly the point - for the whole site, it's one way, and for
> _this_page_only_ it's another way.
>
> For example - in style.css
> dt {font-weight:bold}
>
> In someotherpage.html
> <style type="text/css">
> dt {font-weight: normal; font-style: italic;}
> </style>
>
>
FWIW, I normally give use <body class="special"> or somesuch in the
HTML, and
..special dt {what: ever;}
in the CSS

--
Advice is cheap, so always give the best. - Alfred Lawson
http://graspages.cjb.cc/

 

Navigation:

[Reply to this 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

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