0

My code is too to the left, help please? It's my first day :')

I want the text to not be exactly aligned to the color box, can someone help please? <!DOCTYPE html> <html> <head> </head> <body> <table> <td width="900px"> <img src="https://s.tcdn.co/392/525/39252584-d29b-35f5-8345-d5ea9330cf86/192/6.png"> <p>random text<br /> aaaaaa<br /> eeeee <br /> ooooooo</p> </ul> </td> <td width="2000px" height="300px" bgcolor="#fdefdd"> <center> name - sth - etc </center> <p></p> <p> text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text. </p> </td> </table> </body> </html>

22nd Mar 2020, 10:54 PM
tea
tea - avatar
3 Respuestas
+ 1
Text-indent only indents the first line of text. If you want there to be space on all sides of the text, you need to use HTML's cellpadding attribute or use CSS's padding attribute. <table cellpadding="10"> <tr> <td width="900px"> <img src="https://s.tcdn.co/392/525/39252584-d29b-35f5-8345-d5ea9330cf86/192/6.png"> <p>random text<br> aaaaaa<br> eeeee<br> ooooooo</p> </td> <td width="2000px" height="300px" bgcolor="#fdefdd"> <center> name - sth - etc </center> <p>text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.</p> </td> </tr> </table>
23rd Mar 2020, 2:59 AM
Alyssa
Alyssa - avatar
22nd Mar 2020, 11:45 PM
Ore
Ore - avatar
0
Thanks!!
23rd Mar 2020, 12:33 PM
tea
tea - avatar