怎样实现图片居中于层内?

目前的解决方案是,层内加表,表内放图:

<div style="position:absolute;width:200px;height:200px;background-color:#FFCC00">
<TABLE style="width:200px;height:200px">
<TR>
<TD align="center"><img src="http://www.blueidea.com/img/common/logo.gif"></TD>
</TR>
</TABLE>
<div>

Leave a Reply

Your email address will not be published.