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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

border element on table

Status
Not open for further replies.

BDNFLNC

Technical User
May 30, 2002
202
US
OK, so I have a two column page. Done with a table because I need the bgcolor of the left column to be consistent the whole height.

I have put an ID on the <td> tags to give the left column a border-right. It works great, but only for the part of the table that is filled. Where there is no content to that table cell the border stops displaying.

A work in progress is found at
The left column should have a right and top border and the right column should have a left and top border.

I am working on this all the time so the code may change slightly.

If anyone knows any tricks for doing this, please share.

Thanks.

Kenn
 
I think the most common trick for dealing with formatting problems that arise with empty table cells is to put a &nbsp; in them.

See if that helps.

--Dave
 
I don't know if it would make a difference or not (I can't imagine why it would)... But try swapping the order of your border paramters around. So go from this:

Code:
border-left: 1px solid #333333

to this:

Code:
border-left: 1px #333333 solid;

As I said - probably won't make a difference, but worth a go anyway ;o)

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top