HTML | Таблицы | Проблемы с отступом
Добавлено: 20 окт 2011, 18:56
Появилась проблема с отступом в таблице.
Должно вывести так:
А выводит так:
Код: Выделить всё
<html><body bgcolor=#000000 > <table style="width: 0%; border-collapse: collapse;" CELLPADDING=0 ><tbody> <tr> <td style='width: 10px; height: 10px; background-image: url("http://readyhw.ru/img/c_t_k_1.png"); background-repeat: no-repeat; background-position: 0% 0%; letter-spacing: 0px; word-spacing: 0px'><br></td> <td style='letter-spacing: 0px; word-spacing: 0px; height: 10px; background-image: url("http://readyhw.ru/img/c_t_k_5.png"); background-repeat: repeat-x; background-position: 0% 0%'><br></td> <td style='width: 10px; height: 10px; background-image: url("http://readyhw.ru/img/c_t_k_3.png"); background-repeat: no-repeat; background-position: 0% 0%; letter-spacing: 0px; word-spacing: 0px'><br></td> </tr> <tr> <td style='width: 10px; background-image: url("http://readyhw.ru/img/c_t_k_6.png"); background-repeat: repeat-y; background-position: 0% 0%; letter-spacing: 0px; word-spacing: 0px'><br></td> <td align="center" style="text-align: center; background-color: rgb(255, 255, 255); letter-spacing: 0px; word-spacing: 0px; width: 0px; height: 0px;">OLOLO =)<br></td> <td style='width: 10px; letter-spacing: 0px; word-spacing: 0px; background-image: url("http://readyhw.ru/img/c_t_k_7.png"); background-repeat: repeat-y; background-position: 0% 0%'><br></td> </tr> <tr> <td style='width: 10px; height: 10px; background-image: url("http://readyhw.ru/img/c_t_k_2.png"); background-repeat: no-repeat; background-position: 0% 0%; letter-spacing: 0px; word-spacing: 0px'><br></td> <td style='height: 10px; background-image: url("http://readyhw.ru/img/c_t_k_8.png"); background-repeat: repeat-x; background-position: 0% 0%; letter-spacing: 0px; word-spacing: 0px'><br></td> <td style='width: 10px; height: 10px; background-image: url("http://readyhw.ru/img/c_t_k_4.png"); background-repeat: no-repeat; background-position: 0% 0%; letter-spacing: 0px; word-spacing: 0px'><br></td> </tr> </tbody></table> </body></html>
А выводит так: