Html 在SharePoint 2007中,如何更改Web部件区域的背景色?
我知道我可以通过在内容编辑器Web部件的源代码中包含CSS来更改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"
<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上吗?