Google Chrome CSS [英] Google Chrome CSS
本文介绍了Google Chrome CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有这样的代码
HTML
<div class="m"><img src="blue.jpg"></div>
CSS
.m{
border:0px solid blue;
float:left; min-width:65px;
padding:23px 4px 10px;
text-align:center;
color:#8A4C25;
font-family:TW Cen MT;
font-size:15px;
}
左侧悬浮在Google Chrome中无法使用。是否有此解决方案
Float left is not working in Google Chrome. Is there any solution for this
推荐答案
有一个父< li>
您已设置其 position:relative;
请删除它或将其设置为 min-height
There is a parent <li>
you have set its position:relative;
Please remove it or set its min-height
to some thing.
.path-course-view li.activity{
margin-right: 20px;
position: relative;
min-height:500px;
}
这篇关于Google Chrome CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文