时间:2021-07-01 10:21:17 帮助过:11人阅读
标签,如果内容段落多的话)。于是name.html的代码如下:
无标题文档
@charset "UTF-8";.VTabbedPanels #TabbedPanels1.TabbedPanels{ margin:0px; padding:0px; border:0px; width:403px; height:auto;}.VTabbedPanels .TabbedPanelsTabGroup {/*这里设置tab组的样式*/ margin: 0px; padding: 0px; border:0px; /*display:block;*/ float: left; width: 100px; height: auto; /*position: relative;*/}.VTabbedPanels .TabbedPanelsTab {/*这里设置tab的样式*/ /*position: relative; /*display:block;*/ /*float: none;*/ margin:5px 0px 1px 0px; top: 1px; padding: 4px 10px; font: bold; font-family:Arial; background-color: #090; color:#dfe; list-style: none; border-top: solid 3px #060; border-left: solid 3px #060; border-right: solid 3px #090; border-bottom: solid 3px #060; -moz-user-select: none; -khtml-user-select: none; cursor: pointer;}.VTabbedPanels .TabbedPanelsTabHover {/*这里设置鼠标经过*/ background-color: #aeb; color:#090;}.VTabbedPanels .TabbedPanelsTabSelected {/*这里设置选中的tab的样式*/ background-color: #dfe; border-right: solid 3px #dfe; color:#090;}.VTabbedPanels .TabbedPanelsContentGroup {/*这里是内容框的样式*/ /*clear:none;*/ border-left: solid 3px #090; border-bottom: solid 3px #090; border-top: solid 3px #090; border-right: solid 3px #090; background-color: #dfe; color:#090; padding: 0px; margin:0 0 0 97px;/*97px是计算得到的,这样就能实现tab和内容连通的效果了。*/ width: 300px; height: 350px; font-size:11px; font-family:Arial;}.VTabbedPanels .TabbedPanelsContentGroup p { margin:5px; padding:0px;}
接分的来了
不错咯~~~
向LZ学习
谢谢分享
一般是自己写代码的
有水平样式的吗。发我:lion_6@163.com
不妥啊~代码原封不懂拿过来~在浏览器上不出效果~
挺不错的,分享!