Click to See Complete Forum and Search --> : Is there a way to stop a div from inheriting...


damon00
12-10-2008, 08:17 PM
Is there a way to stop a div from inheriting a background color?

I need a div to have no background color, but it is inheriting a background color, and I can't figure out a way around it.

felgall
12-10-2008, 08:26 PM
There is no such thing as having no colour at all - you either give it the colour you want or let it inherit. Transparent is considered to be just a colour like all the others if that's the colour you meant.

damon00
12-10-2008, 08:39 PM
Yeah, transparent is what I had in mind. It seems to work in IE, but firefox always seems to set something as a background color.

Bummer...