Home >Web Front-end >HTML Tutorial >Firefox border reduction and misalignment problem_html/css_WEB-ITnose
<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>
<!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>
Haha, I found a few people asking this kind of question, it hurts. . .
I don’t know the reason, please give me some prawns. . .
This is not only a firefox problem, I looked at it and it also exists in IE
Well, my IE has no problem
What version of IE do you have? 360?
Try clearing the float