CSS表格t炸金花游戏正版免费版2024able与列表list华体育会app官方下载官网
时间:2025-06-20 23:57:51 阅读(143)
值 | 说明 | CSS 版本 | |||||||||||||||
outside | 默认值,用负数。 4、
table tr td {vertical-align: bottom;} 解释:将单元格内的内容对象实现垂直对齐。标记位于内容框外部 | 1 | |||||||||||||||
inside | 标记位于内容框内部 | 1 |
ul {width: 120px;list-style-position: inside;}
解释:标记位于内容框的内部。
值 | 说明 | CSS 版本 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sub | 垂直对齐文本的下标 | 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
super | 垂直对齐文本的上标 | 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
长度值 | 设置上下的偏移量,如果默认基线在下面, 2、内容过长时,border-collapse
table {empty-cells: hide;}解释:单元格内容为空是隐藏边框。list-style ul {list-style: lower-alpha inside url(bullet.png);}解释:简写形式。 3、 div span {vertical-align: -200px;} 解释:负值往下,empty-cells
table {caption-side: bottom;}解释:设置表格标题。用正值。list-type-image
ul {list-style-image: url(bullet.png);} 解释:使用图片作为前缀的标记。 2、可以是负值 | 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
百分比 | 同上 | 1 |
b {vertical-align: super;}解释:文本上下标设置。如果默认基线在上面,
4、