2022-06-22 537
HTML <tr> charoff 属性
实例
把第二行和第三行的内容与 "." 字符向右两个字符的位置对齐:
<table border="1"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr align="char" char="." charoff="2"> <td>January</td> <td>$100.00</td> </tr> <tr align="char" char="." charoff="2"> <td>February</td> <td>$10.00</td> </tr> </table>
几乎所有的主流浏览器都不支持 charoff 属性。
定义和用法
HTML5 不支持 <tr> charoff 属性。
charoff 属性规定内容相对于由 char 属性规定的字符的对齐偏移量。
仅当 align 属性设置为 "char" 且已设置 char 属性时,才能使用 charoff 属性。
语法
<tr charoff="number">
属性值
原文链接:https://77isp.com/post/1416.html
=========================================
https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。
数据库技术 2022-03-28
网站技术 2022-11-26
网站技术 2023-01-07
网站技术 2022-11-17
Windows相关 2022-02-23
网站技术 2023-01-14
Windows相关 2022-02-16
Windows相关 2022-02-16
Linux相关 2022-02-27
数据库技术 2022-02-20
抠敌 2023年10月23日
嚼餐 2023年10月23日
男忌 2023年10月22日
瓮仆 2023年10月22日
簿偌 2023年10月22日
扫码二维码
获取最新动态