0
我想中心这种材料水平:定心问题(水平)
<a href='/big.jpg' class = 'cloud-zoom' id='zoom1'
rel="">
<img src="/small.jpg" alt='' title="Optional title display" />
</a>
我想中心这种材料水平:定心问题(水平)
<a href='/big.jpg' class = 'cloud-zoom' id='zoom1'
rel="">
<img src="/small.jpg" alt='' title="Optional title display" />
</a>
将text-align:center
添加到您的主播。我假设zoom1
的样式为display:block
,其width
大于图片的宽度。
<a href='/big.jpg' class = 'cloud-zoom' id='zoom1' rel="" style="display:block; width:400px; border:1px solid red; text-align:center">
<img src="/small.jpg" alt='' title="Optional title display" />
</a>
altough的问题不是什么需要是中心对齐清楚,这里是你可以检查出的链接 -
http://www.gtalbot.org/NvuSection/NvuWebDesignTips/HorizontalAlignment.html
你想居中什么:嵌套的图像元素或整个锚点? – 2010-07-30 05:24:38
你*真的*需要给我们更多的信息... – James 2010-07-30 06:41:52