开发者

I have a standard table with text inside. How do I vertical align this?

Right now, the text seems not to be exactly vertical centered. It seems that there is more top-padding than bottom-padding.

Although of course, there is no padding in the CSS. How do I make this completely vertical ali开发者_运维技巧gned?



<td valign = "middle">

In CSS:

vertical-align: middle;


Try adding:

<table cellpadding="0">
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜