关于嵌套的div层居中显示的问题

By: hy52000

2007-7-17 11:37 hy52000
关于嵌套的div层居中显示的问题

div id="layer4"  style="position:absolute; width:167px; height:134px; z-index:1; top: 223px; left: 7px;">
<div id="layer5"  style="position:absolute; width:165px; height:16px; z-index:2; left: 0px; top: 1px;"><img src="images/a3.gif" width="9" height="9">    投票调查</div>
</div>
这样嵌套的层怎么居中显示啊,我用了居中的方法发现里面的层可以,而外面的层却不能居中
该篇文章发表于:设计互动 (www.ccflash.org),复制请保留此行.

Username