+ 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

3rd Jun 2019, 7:31 PM
Georges Methens
Georges Methens - avatar
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)
3rd Jun 2019, 7:43 PM
Airree
Airree - avatar
+ 1
Thanks a lot! It works
3rd Jun 2019, 8:19 PM
Georges Methens
Georges Methens - avatar