此处为内部绝对定位的 DIV
样式如下:
#inn {
width: 200px;
height: 50px;
position: absolute;
top: 0px;
right: 0px;
background:#000000;
}
此处为外部相对定位的 DIV
样式如下:
#out {
width: 609px;
/*这里宽度为奇数,bug就出现了!!改成偶数就OK了*/
height: 300px;
position: relative;
background:#FF0000;
color:#FFF;
}