+ 2
Hi dears !I need help, I'd like to know how to put an image in a cell of a table.
The image needs to be fixed very well in the cell
2 odpowiedzi
+ 2
You can do it like this:
<table>
<tr>
<td>
<img src = "" width = "100%" height = "100%" />
<td>
</tr>
</table>
It may also help to set its margin to 0. CSS:
* {
margin: 0;
}
(It sets all elements margin to 0)
+ 1
Thanks a lot! It works