开发者

Css styling error with the widget aligning a div in the centre of a td

开发者 https://www.devze.com 2023-03-22 10:04 出处:网络
See the sample widget at http://jsfiddle.net/4B2Bc/ The problem is that the image 开发者_开发知识库and the text below the image should be centered in the td, whereas it is aligned left.

See the sample widget at http://jsfiddle.net/4B2Bc/ The problem is that the image 开发者_开发知识库and the text below the image should be centered in the td, whereas it is aligned left.


change:

.w_61532_article
{
    text-align: center;
}

to

.w_61532_article
{
    margin: 0 auto;
}

And you are fully centered.

0

精彩评论

暂无评论...
验证码 换一张
取 消