[thelist] Empty cell formatted with css looses border
Jay Blanchard
jay.blanchard at niicommunications.com
Mon May 23 13:17:37 CDT 2005
[snip]
I've got a table containing dynamic content that's formatted with css.
Sometimes the cells are empty and then the cell looses its border. I
can't put in a or anything because it's dynamic. How can I get
the borders to show up? Thanks.
[/snip]
You can put in an in dynamic tables, just requires a conditional
check.
if('' == $myCellContents){
/* if the results are blank */
print(" ");
} else {
/* print the value from the database */
print($myCellContents);
}
Show us your code.
More information about the thelist
mailing list