对于本网站的标题http://new.931thefan.com/ 我希望Listen Live在移动设备上查看时在徽标下方移动。现在,在移动设备上观看时,现场图标与徽标重叠,现在右移 。在移动设备上的HTML CSS问题
该代码本身工作正常,但是当我放入WordPress主题是 不起作用
HTML
<div class="wrapper">
<div id="one"><a href="http://new.931thefan.com">
<img class=logo src="http://931TheFan.com/wp- content/uploads/2015/05/fan-logo-header2.png" alt="93.1 The Fan" width="199px" height="146px"/>
</a></div>
<div id="two"><a href="javascript:callLTR='WWSR-FM';grptuner='';file='';title='';ListenLive();" target="_self">ttest<img src="http://931TheFan.com/wp-content/uploads/2013/08/listen-live-fan.png" align="right" border="0"></a></div>
</div>
CSS
.wrapper {
border : 2px solid #000;
overflow:hidden;
}
.wrapper div {
min-height: 200px;
padding: 10px;
}
#one {
background-color: gray;
float:left;
margin-right:20px;
width:300px;
border-right:2px solid #000;
}
#two {
background-color: black;
overflow:hidden;
margin:10px;
border:2px dashed #ccc;
min-height:170px;
}
@media screen and (max-width: 400px) {
#one {
float: none;
margin-right:0;
width:auto;
border:0;
border-bottom:2px solid #000;
}
IMG.logo {
display: block;
margin-left: auto;
margin-right: auto }
}
如何有什么想法我可以做这个工作?