顶端对齐(vertical-align : top) 顶端对齐(vertical-align : top)是将元素的行内框的顶端与行框的顶端对齐,例如有如下代码: p { line-height : 7em;...
基于10个网页-相关网页
务必使搁架与橱柜顶端对齐。
Make sure the shelf is aligned with the top of the cupboard.
如果你想要达到相同的目的但是只有一块受实际区域制约的垂直屏幕,标签顶端对齐则会更好一些。
If you want to achieve the same aim but have a vertical screen real estate constraints, right-aligned labels work better.
我已经将list元素设置为左缩进30px,假如你要顶端对齐,则将缩进像素数归零。
I've also re-indented list items by 30 pixels on the left, so if you want hanging bullets, be sure to set that back to zero.
应用推荐