Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 在SharePoint 2007中,如何更改Web部件区域的背景色?_Html_Css_Sharepoint 2007_Cewp - Fatal编程技术网

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

Html 在SharePoint 2007中,如何更改Web部件区域的背景色?,html,css,sharepoint-2007,cewp,Html,Css,Sharepoint 2007,Cewp,我知道我可以通过在内容编辑器Web部件的源代码中包含CSS来更改Web部件的背景颜色: <style type="text/css"> #MSOZoneCell_WebPartWPQ3{ background-color:"#ddecff"; } </style> #MSOZoneCell_网页部件WPQ3{ 背景色:“ddecff”; } 但是我想更改整个Web部件区域的背景色。白色很无聊。。。有人知道怎么做吗? <style type="text/css"

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

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

#MSOZoneCell_网页部件WPQ3{
背景色:“ddecff”;
}
但是我想更改整个Web部件区域的背景色。白色很无聊。。。有人知道怎么做吗?


<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>​​​​​
.ms Web部件chrome标题 { 背景颜色:灰色; } .ms-webpart-titleText.ms-webpart-titleText.ms-webpart-titleText>a { 颜色:白色!重要; } ​​​​​
不熟悉SharePoint 2007,但您不能只针对DOM主体或零件区域的ID吗?可能吧。我不知道它叫什么。我已经浏览了页面源代码,但有700多行,很难找到。我希望有人知道。你能把整个HTML页面都放在JSFIDLE上吗?