|
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]
|