Jump to content

Padding between table rows


Donaldini

Recommended Posts

I've been trying to layout my Drupal table, but i'm stuck on this seemingly simple thing. As shown below my table has spacing between cells because of a border collapse and 5px border-spacing. C79A5.jpg As marked on the image I want to keep the 5px spacing between the rows, but want to have the column spacing to be 2px (or so).I can't seem to find a solution that doesn't mess my border-radius up.

Link to comment
Share on other sites

A day later, i've been able to adapt my code and get closer to a solution. What a good nights sleep can do :-) But alas, the trouble is not yes over: hMcH2.jpg I changed my TR to a block element with border-radius. This combined with a white border-left and right on the middle TD have me the result above.But as marked, there appears to be a thin line (#CCC) underneath my TR. It looks like a shadow line or something, but can't seem to find the reason. EDIT: Problem found, it was the main template that was messing up my layout, overriding it solved the problem!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...