Heim  >  Artikel  >  Web-Frontend  >  firefox加边框缩小错位问题_html/css_WEB-ITnose

firefox加边框缩小错位问题_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:12:431083Durchsuche

<div style="width:904px">	<div style="width:200px; float:left; border:1px solid #000000">aaa</div>	<div style="width:700px; float:right; border:1px solid #000000">bbb</div></div>


我应该没有算错 总共904宽 但是在缩小的情况下会错位 不知道为什么
(ctrl+鼠标滚轮 缩小放大)


回复讨论(解决方案)

<!DOCTYPE HTML><html lang=""><head>	<meta charset="gbk">	<title></title></head><body><div style="width:904px">    <div style="width:200px; float:left; border:1px solid #000000">aaa</div>    <div style="width:700px; float:right; border:1px solid #000000">bbb</div></div></body></html>



怎么错位了?

呵呵,我发现有几个人问这类问题了,蛋痛。。。
不知道原因,求大虾。。。

这不仅firefox的问题,我看了一下IE也存在

额是吗 我IE 没问题呀

你IE 什么版本呀 360吗?

清除下浮动试试

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn