You are here: Re: Looking for a Firefox extension « HTML « IT news, forums, messages
Re: Looking for a Firefox extension

Posted by Dylan Parry on 12/04/06 09:30

Bob wrote:

> Is #787878 the same as RGB 120,120,120?

Yes. It is the equivalent value in hex.

[...]
> I don't think I want any more rules.

You may do, but only if you find that the body text on particular pages
has been styled using rules that override yours. A good page /should/ be
using the style defined for the 'body' element for its main content, but
there are plenty out there that won't - ie. the content will be in a
further 'div' element with another style defined for that.

For example, your user CSS file won't help in this situation:

[...]
<body>
<div id="content" style="color: red;">
Lorem ipsum dolor sit amet...
</div>
</body>
[...]

As the style for the /content/ 'div' would take precedence.

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.

 

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

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