What is the correct way to force text in a div to vertically align to the middle? I have found a couple \'tricks\', but I need something that works with a single line and multip
http://jsfiddle.net/DawFy/16/
.header { display: block; text-align: center; width: 123px; background: green; border-radius: 4px 4px 4px 4px; height: 80px; margin:0px auto; } li { list-style-type:none; } test1 some text that will wrap test3 Try this dont know if its "correct" but works 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Try this dont know if its "correct" but works