当前位置: 编程技术>WEB前端
用js控制css的不错的方法
来源: 互联网 发布时间:2014-09-06
本文导语: #tabs UL {DISPLAY: inline; PADDING-LEFT: 0px; MARGIN-LEFT: 10px; WHITE-SPACE: nowrap} #tabs UL LI {BORDER-RIGHT: #999 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: #999 1px solid; DISPLAY: inline; PADDING-LEFT: 12px; FONT-SIZE: x-small; BACKGROUND: #eee; PADDING-BOTTOM: 0px; BORDER-LEFT: #999 1px...
#tabs UL {DISPLAY: inline; PADDING-LEFT: 0px; MARGIN-LEFT: 10px; WHITE-SPACE: nowrap}
#tabs UL LI {BORDER-RIGHT: #999 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: #999 1px solid; DISPLAY: inline; PADDING-LEFT: 12px; FONT-SIZE: x-small; BACKGROUND: #eee; PADDING-BOTTOM: 0px; BORDER-LEFT: #999 1px solid; MARGIN-RIGHT: 2px; PADDING-TOP: 3px; BORDER-BOTTOM: #4bcb66 0px solid; FONT-FAMILY: verdana; WHITE-SPACE: nowrap}
#tabs UL LI.active_web {BORDER-RIGHT: #4bcb66 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: #4bcb66 1px solid; PADDING-LEFT: 12px; FONT-WEIGHT: bold; FONT-SIZE: x-small; BACKGROUND: #f7fdf6; PADDING-BOTTOM: 0px; BORDER-LEFT: #4bcb66 1px solid; PADDING-TOP: 6px; BORDER-BOTTOM: #f7fdf6 1px solid; FONT-FAMILY: verdana; WHITE-SPACE: nowrap}
#tabs UL LI.active_news {BORDER-RIGHT: #d3bf8e 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: #d3bf8e 1px solid; PADDING-LEFT: 12px; FONT-WEIGHT: bold; FONT-SIZE: x-small; BACKGROUND: #fff9eb; PADDING-BOTTOM: 0px; BORDER-LEFT: #d3bf8e 1px solid; PADDING-TOP: 6px; BORDER-BOTTOM: #fff9eb 1px solid; FONT-FAMILY: verdana; WHITE-SPACE: nowrap}
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]