"opening" empty table cells

J

Jeff Thies

Lets say we have this typical table with borders:

<table border="1" cellspacing="0">
<tr><td>content</td><td>&nbsp;</td><td></td>...

Many browsers will collapse the border on the empty cell.

Is there a way other than the &nbsp; hack to prevent that?

Jeff
 
S

Spartanicus

Jeff Thies said:
Lets say we have this typical table with borders:

<table border="1" cellspacing="0">
<tr><td>content</td><td>&nbsp;</td><td></td>...

Many browsers will collapse the border on the empty cell.

Is there a way other than the &nbsp; hack to prevent that?

table{empty-cells:show} (not supported by IE).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top