angelodev Posted May 8, 2007 Share Posted May 8, 2007 Hi there, my little table works well but its internal border are not visible. In the CSS section their are correctly set with: border: 1px solid #000000 i see only the external border, so the table looks like a simple box are there other property to set? Link to comment https://forums.phpfreaks.com/topic/50458-inside-table-border-color/ Share on other sites More sharing options...
ToonMariner Posted May 8, 2007 Share Posted May 8, 2007 yes - to give each cell a border you must alos use td { border: 1px solid #000;} Link to comment https://forums.phpfreaks.com/topic/50458-inside-table-border-color/#findComment-248478 Share on other sites More sharing options...
Karl33to Posted May 9, 2007 Share Posted May 9, 2007 you've probably already got it, but don't forget to use : table { border-collapse: collapse; } if you want a 1px line dividing the cells, otherwise the borders sit next to each other looking like a 2px border Link to comment https://forums.phpfreaks.com/topic/50458-inside-table-border-color/#findComment-249207 Share on other sites More sharing options...
angelodev Posted May 10, 2007 Author Share Posted May 10, 2007 Ok thnahk a lot! Link to comment https://forums.phpfreaks.com/topic/50458-inside-table-border-color/#findComment-249657 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.