+ -
当前位置:首页 → 问答吧 → opera下的一个bug

opera下的一个bug

时间:2010-12-09

来源:互联网


<!doctype html> <html> <head> <meta charset="gbk" /> <title>opera下的一个bug</title> <style type="text/css"> body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;-webkit-text-size-adjust:none} body{font:12px/22px Tahoma,"\5B8B\4F53";word-break:break-all;text-align:center;color:#383838} .per-smooth{padding-right:13px;display:inline-block;position:relative} .per-smooth b{width:10px;height:10px;background-color:#f00;right:0;top:50%;margin-top:-5px;position:absolute} </style> </head> <body id="index"> (1).<span class="per-smooth">排名第<strong style="padding:0 30px;margin:0 30px;background:#063;right:0;top:0;">33</strong>名<b></b></span>(bug情况) <br/>(2).<span class="per-smooth">排名第33名<b></b></span>(无bug情况) </body> </html>
 提示:您可以先修改部分代码再运行
请在opera下浏览。
(1)中的b标签竟然相对strong标签定位
不知道大家有碰到过没?

[ 本帖最后由 alou 于 2010-12-9 10:36 编辑 ]

作者: alou   发布时间: 2010-12-09

看样子大家在实际项目中都没碰到类似的情况

作者: alou   发布时间: 2010-12-09