在SharePoint 2007中,如何更改Web部件区域的背景颜色?

时间:2013-11-15 22:06:55

标签: html css sharepoint-2007 cewp

我知道我可以通过在内容编辑器Web部件的源代码中包含CSS来更改Web部件的背景颜色:

<style type="text/css">
#MSOZoneCell_WebPartWPQ3{
background-color:"#ddecff";
}
</style>

但我想更改整个Web部件区域的背景颜色。怀特非常无聊......有谁知道怎么做?

1 个答案:

答案 0 :(得分:0)

<style type="text/css">
.ms-webpart-chrome-title
{
background-color: Gray;
}

.ms-webpart-titleText.ms-webpart-titleText, .ms-webpart-titleText > a 
{
color: White!important;
}
</style>​​​​​