I made a test about a border to separate thead and tbody, but the thead seems to have a priority on the tbody.
If you have an idea…
- Here is my test: http://jsfiddle.net/cFKns/2/
- Search to do this: http://img844.imageshack.us/img844/693/12293655.png
You need to set the
border-collapsevalue toseparateon the portions you don’t want the border overlapping, then set theborder-spacingto 1px on the side the borders will touch.I also had to move the border definitions to the
THandTDtags, as I don’t thinkborder-collapseandborder-spacingapply totheadandtbody(at least it didn’t work when I tried).You can see the updated results with my findings here: http://jsfiddle.net/jasongennaro/Pf7My/1/
I targeted the first set of
tdtags by usingtr:first-child td. The makes sure only the top row as a black top border.