主题:  position: relative;到底是相对td那条线?

solohawk

职务:普通成员
等级:2
金币:1.0
发贴:398
注册:2001/10/12 14:29:38
#12004/6/22 11:30:32
<style type="text/css">
<!--
.p1 {
    position: relative;
    bottom: 3px;
}
-->
</style>

<td height="100"><img src="arrow.gif" width="5" height="5" class="p1"></td>

实际看效果,搞不清楚到底以那条线为坐标,顶、底、还是中线?



=ridincal=

职务:管理员
等级:7
金币:20.0
发贴:5886
注册:2004/1/13 11:47:04
#22004/6/22 18:53:53
不是相对于线,而是点,对象的左上角