We can set the size of the table based of pixels or percentage. First we will see how to set size based on pixels. The attribute width and height will be used.
Example :
height=30>
height=70>
This is 1st row 1st column |
This is 1st row 2nd column |
This is 2nd row 1st column |
This is 2nd row 2nd column Nice background |
Now we have set the total table width as 300 and height as 100 and split them as 30 to first row and 70 to second row.
Result :