代码中有一段动态生成的css,为什么这段不起作用?
<styletype="text/css">#_ctl1_WebControl_board_Tabs_ctl_divBox{margin-left:2%;width:47...
<style type="text/css">
#_ctl1_WebControl_board_Tabs_ctl_divBox
{
margin-left: 2%;
width: 47%;
float: left;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul
{
padding: 1px;
width: 98%;
margin-left:-1px;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul>li>a
{
display: block;
color: #000000;
padding: 0 13px;
font: bold 12pt Arial;
text-decoration: none;
outline:none;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul>li>a:hover
{
background-color:#C6C6C6;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul>li
{
list-style: none;
float: left;
border:1px solid #C6C6C6;
background-color:#EBEBEB;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul>li>a.selected
{
background-color: #9ACCFD;
}
.items>div
{
display: none;
float: left;
margin: 0 0 0 0;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul,.idTabs>ul>li>a
{
border-radius: 4px;
-moz-border-radius: 4px;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox .more
{
cursor: hand;
display: block;
color: #000000;
font: bold 12pt Arial;
text-decoration: none;
float: right;
border: 0px;
outline:none;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>.items
{
border: 1px solid #6A98CA;
margin-top: 19px;
height: 280px;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox .tt
{
width: 100%;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox .tt td
{
border-bottom: dashed 1px gray;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>.items>span>div
{
overflow:auto;height:250px;
}
</style> 展开
#_ctl1_WebControl_board_Tabs_ctl_divBox
{
margin-left: 2%;
width: 47%;
float: left;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul
{
padding: 1px;
width: 98%;
margin-left:-1px;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul>li>a
{
display: block;
color: #000000;
padding: 0 13px;
font: bold 12pt Arial;
text-decoration: none;
outline:none;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul>li>a:hover
{
background-color:#C6C6C6;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul>li
{
list-style: none;
float: left;
border:1px solid #C6C6C6;
background-color:#EBEBEB;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul>li>a.selected
{
background-color: #9ACCFD;
}
.items>div
{
display: none;
float: left;
margin: 0 0 0 0;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>ul,.idTabs>ul>li>a
{
border-radius: 4px;
-moz-border-radius: 4px;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox .more
{
cursor: hand;
display: block;
color: #000000;
font: bold 12pt Arial;
text-decoration: none;
float: right;
border: 0px;
outline:none;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>.items
{
border: 1px solid #6A98CA;
margin-top: 19px;
height: 280px;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox .tt
{
width: 100%;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox .tt td
{
border-bottom: dashed 1px gray;
}
#_ctl1_WebControl_board_Tabs_ctl_divBox>.items>span>div
{
overflow:auto;height:250px;
}
</style> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询