我无法弄清楚我的风格有什么问题.
希望有人可以帮助我.
代码示例:
<style type="text/css">
.maindiv {
overflow:hidden; border:#000 1px solid;
width:450px; min-height:250px;
}
.left_inner {
float:left; width:200px;
min-height:100%; background:#00CC33;
}
.right_inner {
float:left; width:150px; background:#C93;
}
</style>
<div class="maindiv">
<div class="left_inner">Left Block content</div>
<div class="right_inner">Right block content<br />sample txt<br />sample txt</div>
</div>
Run Code Online (Sandbox Code Playgroud)
应该是这样的方式就像在Opera Browser中一样(见图):

我有以下链接:
<a href="#">Link text<span>Link sub-text</span></a>
Run Code Online (Sandbox Code Playgroud)
当悬停我需要跨度内的文本没有下划线(但主链接文本是).可能吗?我试过了:
a:hover span {text-decoration:none;}
Run Code Online (Sandbox Code Playgroud)
这不起作用.
这有什么解决方案吗?