342 posts
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+6 more
vtimbuc
says

Hey guys,

I need some help to style a table. The problem is that I cant add a margin between the table columns. The only way I found that allows me to do it, is by setting the “td” element with display: inline-block;. But if add this css property the table doesn’t work like as it should be working.

This is what I want to achieve:

And here is the code example: http://jsfiddle.net/NtVPZ/

Anyone know how to do it?

Thanks

16 posts
  • Affiliate Level 1
  • Author Level 3
  • Collector Level 1
  • 4 Years of Membership
+2 more
LuanMuniz
says

Just add borders in TD’s like http://jsfiddle.net/NtVPZ/3/

342 posts
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+6 more
vtimbuc
says

This doesn’t work for me because if I set the color of the border to transparent it continues white and I cant set a solid color for the border.

http://jsfiddle.net/NtVPZ/4/

1565 posts
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 2
  • Featured Author
+2 more
OriginalEXE
says
342 posts
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+6 more
vtimbuc
says

As I’ve said on the first post using display: block; is causing another issues.

http://jsfiddle.net/NtVPZ/7/
by
by
by
by
by
by