Friday, September 12, 2014

How to remove line on top of a table in Drupal

This will just be a quick post. Drupal tends to add a gray line at the top of any <table> elements you may have on your page, even if you don't have a border specified. A quick and simple way of getting that annoying line gone is by adding this

table {
  border-collapse: separate !important;

to your stylesheet file. Does the trick for me!

No comments:

Post a Comment