今天在修改Bug,在.ascx中写了一个<style type="text/css">样式.....</style>似乎对指定的标签不起作用,这是神马原因?
敢不敢把样式和Html亮出来
<%@ Control Language="vb" AutoEventWireup="true" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
<style type="text/css"> #copyright { font-size: 12px; color: #a6a6a6; margin-bottom: 25px; }
#copyright a:link, #copyright a:visited { font-size: 12px; color: #a6a6a6; } #copyright a:hover { color: #D00; } #copyright a.DNNMobileLink { color: #666; font-weight: bold; }
</style>
<div id="s_wrap_main">
<div class="clear" style="height:5px"></div>
<div runat="server" id="TopPane" class="TopPane"></div>
<div class="wrapper" id="siteHeaderinner" style="height:100px">
<div id="logo">
<a title="电商助手首页" id="dnn_dnnLOGO_hypLogo" href="http://localhost/home.aspx">
<img id="dnn_dnnLOGO_imgLogo" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;" alt="My Website" src="/Portals/0/Awesome-Cycles-Logo.png"/>
</a>
</div>
</div>
<table width="99%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" id="LeftPane" class="LeftPane" runat="server">
</td>
<td valign="top" id="ContentPane" class="ContentPane" runat="server">
</td>
<td valign="top" id="RightPane" class="RightPane" runat="server">
</td>
</tr>
</table>
<div runat="server" id="BottomPane" class="BottomPane">
</div>
<div style="display:block;height:80px" class="clear"></div>
<br/><hr/>
<div class="copyright" runat="server" id="copyright">
<span class="SkinObject" id="dnn_dnnCopyright_lblCopyright">Copyright 2013 by DotNetNuke Corporation</span>
<a class="SkinObject"id="dnn_dnnTerms_hypTerms" href="http://localhost:8081/terms.aspx" rel="nofollow">Terms Of Use</a>
<a class="SkinObject"id="dnn_dnnPrivacy_hypPrivacy" href="http://localhost:8081/privacy.aspx" rel="nofollow">Privacy Statement</a>
</div>
<div style="display:block;height:200px" class="clear"></div>
</div>
不明白???能讲的更清楚些吗??