Cell border under one row only?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Is it possible to have a cell border at the bottom of just one,
specific row in a table?

I have a table that I'm displaying with a rules="cols" attribute. But
at a certain row, I'd like to show a horizontal line of some kind.
Showing the cell border on the bottom of that one row would be just
what I'm looking for.


Re: Cell border under one row only?

Martin wrote:

Quoted text here. Click to load it

Yes, the easiest way would probably be to set a class on the tr element,
then use a descent selector to specify all the td elements inside it (and
the nuse the border-bottom property).

However, a better solution is likely to involve using <thead> or <tfoot>
depending on exactly when you want a border under that specific row.

David Dorward       <http://blog.dorward.me.uk/ <http://dorward.me.uk/
                     Home is where the ~/.bashrc is

Site Timeline