|
Looking for a little help/advice on tables and css
Simply out, I'm wondering if its possible to control the top border of a td in a table. I'm working on a project where a list of users are displayed in a table, and when a user is flagged, I want to put a yellow border around it. So far, no luck, as I can't get the top border of any row except for the first row, to show in the right color. I've made the top and bottom borders of all tds black, so it spaces evenly, but I can't get the top border to do so... it seems that the bottom border of the row above overlays. Is there something I'm missing, via border-collapse or something similar? Or is this not a viable system with tables (I could easily rewrite this as a series of divs, but semantically, it is a able of information, so I'm trying to keep it is as such).
|