使用顶部和左侧属性以及左上边距和左上边距有什么区别?
我知道顶部和左侧通常用于位置:绝对情况但我仍然想知道是否有任何重大差异.
例如:
position:absolute; top:5px; left:5px;
航班吗
margin-top:5px; margin-left:5px;
html css layout
css ×1
html ×1
layout ×1