Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table border doesn't exsist around empty segments

Status
Not open for further replies.

newphpbie

Programmer
Oct 17, 2003
110
GB
I have a table, and it has a table border of 5.

My only problem is if one of the sections of the table doesn't contain any data, it doesn't draw the border around that segment. This makes my table look really poor.

Could someone tell me how to fix this?

Do I just need to declair another table constraint?
 
stick a transparent gif in the cell..??
 
luds: stick a transparent gif in the cell..?? ???
;-!

I just want a table border around the cells that don't contain anything.

Forget gif's.

I'm sure it's just something like
Code:
<table border=5 rules=basic>

but it's not that....

 
I need to implement this rule .....


TABLE { empty-cells: show }



but I don't know how.... could someone give me an example please...
 
If I'm reading this thread correctly, then what you are trying to do isn't possible in that kind of way.

The best way to do it is to put a Non-breaking Space Character in there (&nbsp;) - this means there's 'nothing' in there, but you'll be able to see the borders.
 
You've lost me cwcrawley

any chance of an example..??
 
ok, I've sloved this problem by adding

Code:
&nbsp;

to each of the table cells. This tells it to print a border even if their is nothing in it. Magic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top