找到CSS 的默认样式的地方

Local Drive:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\2052\STYLES\CORE.CSS

 

找到2666行

默认为

.ms-WPHeader TD{
color: #345456;
border-bottom:1px solid #4e7cb7;
border-collapse:collapse;
}

修改为

.ms-WPHeader TD{
color: #345456;
height:24px;
border-bottom:1px solid #4e7cb7;
border-collapse:collapse;
background-image:url('/_layouts/images/title.gif');
}

 

然后在下面增加

.ms-WPHeader span{
font:9pt 宋体;
font-weight:bold;
color:#ffffff;
text-decoration:none;
}
用来设置WEBPART上的标题连接的颜色.

转自:http://www.cnblogs.com/lickies/archive/2009/01/22/1379719.html

不过总感觉修改core不是很妥当。在研究在theme中解决该问题。

 

相关文章:

  • 2021-12-31
  • 2021-05-24
  • 2021-10-24
  • 2021-10-11
  • 2021-10-25
  • 2021-05-25
  • 2021-09-19
  • 2021-12-19
猜你喜欢
  • 2022-02-07
  • 2021-07-19
  • 2021-05-20
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案