On 11 Jul 2005, at 9:48 pm, Uwe Kaiser wrote:
Hi list
When I use the shorthand
background: url(image.gif) fixed;
all browsers should expand it to
background: url(image.gif) 0% 0% fixed transparent;
In Mr. Zeldman's book (Designing with ...) I've seen an explicit
p {
background: transparent;
...
...
}
and I don't understand, why it could/should be important,
since this is the initial value anyway, and there is no
earlier declaration to overwrite. Prevention?
1/ it is a recommended practice to set both background colour and
foreground colour at the same time
2/ it could be for overriding a previous, or less specific rule.
p {background:lime;}
p.foo {background:transparent;}
etc.
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/