我試圖覆蓋cflayout選項卡的默認外觀。更改CF9中cflayout選項卡的外觀
通過將編輯的背景精靈放入網站圖像文件夾中,我可以改變懸停外觀,但我似乎無法通過引用內置的.x-tab-strip-over類來使懸停時的文字變爲白色。
在行動here
<style type="text/css">
div.x-tab-panel-header, ul.x-tab-strip-top {
background-image: none;
background-color: transparent;
padding-bottom: 0px;
}
div.x-tab-panel-header {
border: 0px;
}
.x-tab-strip-active, .x-tab-strip-text {
font-weight: normal !important;
font-size: 14px !important;
font-family: arial !important;
}
.x-tab-strip-over {
color: white !important;
}
.x-tab-right, .x-tab-left, .x-tab-strip-inner {
background-image: url(images/xd-tabs-sprite.gif) !important;
}
</style>
<cflayout type="tab">
<cflayoutarea title="Mouse">
Mickey Mouse
</cflayoutarea>
<cflayoutarea title="Duck">
Donald Duck
</cflayoutarea>
</cflayout>
任何線索讚賞
是的,我覺得一個稍微髒的修復,但該做的:-) – Saul 2011-06-12 19:27:30