Forum Moderators: not2easy

Message Too Old, No Replies

CSS orTable Border-Bottom

         

paradoxos

10:52 pm on Mar 28, 2005 (gmt 0)

10+ Year Member



I'm using tables to have search results listed. I'd like a separator between the <tr> rows is there a way to have a bottom border just on this using css?

There is 5 columns of data, should I use css to do this and still not use tables? (If so what is the recommendation?)

createErrorMsg

5:01 am on Mar 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tr{
border-bottom:1px solid #000;
}

...will get you a border on the bottom of all your table rows. As for whether or not to use tables, that's really your judgement call. For me, the decision is always based on how the information will be best understood. If putting it into a table makes it easier to understand the relationship between the information, it's tabular. If, however, the table layout is merely a means to a visual end, I would not personally recommend using tables to display it. Others, of course, may disagree.

cEM