I have the following code html
to create a table, I put it as an example, I want the rows of my table to look wider (if it works) and the same rows to look higher (it doesn't work), doing some research I found what Next:
The attribute
height
does not work in all browsers, and its use is not widespread. The cells usually have the height they need to fit all the content that has been inserted, that is, they grow enough to fit what we have placed inside.
Can I do what I want directly in HTML
or should it be done with CSS
?
<table>
<tr style="width:130%; height:150%;">
<td>Enero</td>
<td>$100</td>
</tr>
<tr>
<td>Febrero</td>
<td>$80</td>
</tr>
</table>
For that purpose use:
With CSS you could use
height
, to indicate the height.Example: