> div
> {
> color: blue;
> }
> in the <HEAD> of my document (in a <style> tag).
> And I the have HTML similar to the following:
> <div>
> should be blue
> <div style="color: red">
> should be red
> <div>
> div inside red div, but is it red? no
> </div>
> </div>
> </div>
> What is the recommended way to solve this?
> Thanks
> Simon
Simon,
Does this work any better for you?
CSS:
div {
color: blue;
}
div div {
color: red;
}
HTML:
<div>
should be blue
<div>
should be red
<div>
div inside red div, but is it red? yes
</div>
</div>
</div>
-Bill
|================================|
| Bill Brown |
| Webmaster, MacNimble.com |
| http://www.macnimble.com |
| mailto:[EMAIL PROTECTED] |
| Phone: 215-237-2037 |
|================================|
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/