Tony Watkins wrote:
>> Notice the body style below sets the background color to #006bb6.
>> This is
> great for all of my pages except one which needs a white background.
> Since the body style applies to all pages with a body tag, how would
> I specify a different body background color for a specific page?
>>
>> body { margin: 0; background-color: #006bb6; font-family: Myriad,
>> Myriad Pro,
> Verdana, Arial, Helvetica, sans-serif; color: #333333; font-weight:
> normal;}
>
> Ahh, and yes, adding a body style to the page will cascade correctly,
> but
> can I create an external style?

IMHO, the best is to simply declare the new background color below the
stylesheet.

 <style type="text/css" media="screen,projection">
<!--
@import url(basic.css);
body {background-color: #fff}
-->
</style>

As a side note, I believe you can't have Myriad Pro with a space in between,
it should be "Myriad Pro"

---
Regards,
Thierry | www.TJKDesign.com

______________________________________________________________________
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/

Reply via email to