Home  >  Article  >  Web Front-end  >  浏览器样式问题_html/css_WEB-ITnose

浏览器样式问题_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:47:38984browse

<% foreach (Article article in AllKindArticles[3 * i])                   { %>                <li>                    <div class="date">                        <a target="_self" href="<%=article.Url %>">                        	<%=ToStr(article.Title, TitleLength)%>                        </a>                    </div>                    <div class="datetime">                        <%=ToDateStr(article.Updated, DateFormat)%>                    </div>                </li>                <%} %>

样式:
.NewsTab_Default .date{	color:#999;	padding-left:5px;	float:left;}.NewsTab_Default .datetime{color:#999; padding-right:5px; float:right}

这样式在360是正常的,在IE上就不正常,会2个文章标题在同一行中,如果把date样式去除,那IE就正常了,360浏览器的标题和日期没有对称,日期会空一行。


回复讨论(解决方案)

ie下的盒模型是有问题的
楼主  可以自己google一下   ie盒模型解决方案 什么的

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn