I built a table like this:
<table width="100%" border="0">
<tr>
<td width="20%">
Nombre
</td>
</tr>
</table>
but I have a warning “Validation (XHTML 1.0 Transitional): Attribute ‘width’ is considered outdated. A newer construct is recommended”
What is a Newer construct for width in XHTML?
The
widthattribute for<td>has been deprecated.You should replace the
widthattribute with the CSSwidthproperty: