Question

table cellspacing is coded inside html table tag

can php 5 set all table cellspacing="0" without any table tag "cellspacing" ?

Was it helpful?

Solution

PHP just generates stuff (usually HTML, but sometimes images or anything really). The result in this case is still just HTML.

However, you could just use the border-spacing:0 CSS rule. This removes the spaces between cells, without actually collapsing the borders so it doesn't break your layouts.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top