开发者

Table cell contents don't vertical align after adding a left floated <ul>

http://jsfiddle.net/LEARy/

In my table cell I've got an unordered list fl开发者_StackOverflow社区oated to the left, after that I have some text within the same cell. So I've added the vertical-align:middle property... still no help. The text not in the list did not align vertically. I've tried modifying line-height property to match the cell's height, nothing happened.

Help!


add this to your css

li {display:inline;}
http://jsfiddle.net/LEARy/3/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜