CSS inherit question?

jonmullen

Platinum Member
Jun 17, 2002
2,517
0
0
I saw someone use inherit in their CSS sheet like so:

.foo{
backgroung: inherit;
}

I assume it just inherits the property from a source up the chain (like inline could inherit form linked). My question is what is the point of this, wont it inhert automatically, why use this?
 

jonmullen

Platinum Member
Jun 17, 2002
2,517
0
0
thanks I was just a little confused about what the point of it was...its seemed like it went aginst the basic design of CSS