html 使表格随着内容自动适应宽度:<td nowrap="nowrap"> 正则表达式替换: <td .*\s*.*\s*.*\s*.*\s*height:2cm'> [.*\s*] * 重复0、多次 . 匹配除换行符以外的任意字符 \s 匹配任意的空白符space 【包括空格,制表符(Tab),换行符,中文全角空格等】 |
html文字行间距属性:line-height:12px; |
html 使表格自适应高度:<tr> height:2cm—>height:auto |
html边框与其内容的间隙大小:cellpadding=3 |
html 使表格随着内容自动适应宽度:<td nowrap="nowrap"> |
文字行间距属性:line-height:18px; |
html 使表格自适应高度:height:2cm—>height:auto |
cellpadding="0" cellspacing="0" |
html中段前段后间距 |
tr是换行,td是换列 |
|
一列二行: |
一行二列: |