English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Атрибут charoff свойства <thead>: Атрибут charoff свойства <thead> устанавливает, с какого символа начинать выравнивание содержимого <thead>, если задан атрибут char и атрибут align установлен в значение «char».
Синхронизировать содержимое <thead> с двумя символами справа от символа «B»:
<table style="width:100%;" border="1"> <thead align="char" char="B" charoff="2"> <tr> <th height="50">Babi娃娃制造商</th> <th height="50">Тип Babi娃娃</th> </tr> </thead> <tr> <td>Барби-принцесса</td> <td>6-ми关节ная Барби</td> </tr> <tr> <td>Барби-принцесса</td> <td>12-ми关节ная Барби</td> </tr> </table>Test see ‹/›
IEFirefoxOperaChromeSafari
Almost all mainstream browsers do not support the charoff attribute.
HTML5 does not support the <thead> charoff attribute.
The charoff attribute sets the number of characters from the content of the <thead> element that will be aligned starting from the character specified by the char attribute.
The charoff attribute can only be used when the char attribute is specified and the align attribute is set to 'char'.
<thead charoff="number">
Value | Description |
---|---|
number | Specify the alignment method. Positive number specifies the alignment to the right of the character. Минусовый номер specifies the alignment to the left of the character. |