25,175
edits
(a note I picked up while researching) |
|||
Line 26: | Line 26: | ||
*In table headers, <code><nowiki>border=1</nowiki></code> should be replaced with <code><nowiki>class="border-1"</nowiki></code>, with a matching number. | *In table headers, <code><nowiki>border=1</nowiki></code> should be replaced with <code><nowiki>class="border-1"</nowiki></code>, with a matching number. | ||
*<code><nowiki><font></nowiki></code> tags should be converted into <code><nowiki><span style=""></nowiki></code> tags where possible. | *<code><nowiki><font></nowiki></code> tags should be converted into <code><nowiki><span style=""></nowiki></code> tags where possible. | ||
**Note that at the time, browsers [[wikipedia:Quirks mode|did not inherit]] font styles down through table elements. So if a table is -1 and a cell is also -1, this does '''not''' mean the cell is a combined -2, but rather they are both just -1. | |||
**There is no standard way to convert from <code><nowiki><font size=#></nowiki></code> to <code><nowiki><span style="font-size:#"></nowiki></code>. These numbers seem accurate in most cases. (http://stackoverflow.com/questions/819079/how-to-convert-font-size-10-to-px) | **There is no standard way to convert from <code><nowiki><font size=#></nowiki></code> to <code><nowiki><span style="font-size:#"></nowiki></code>. These numbers seem accurate in most cases. (http://stackoverflow.com/questions/819079/how-to-convert-font-size-10-to-px) | ||
***-2 (1): 0.625em | ***-2 (1): 0.625em |