Even by declaring for a table the border size to space or zero, the borders are visible. How to hide them ?

Comments

Title:tables borders always visible !tables borders always visible in the Danland theme !

I second that. Any pointers?

I have added css code to both style.css and local.css, as follows:

table {
border-collapse: collapse;
}

I cleared caches, still the border displays around the Social media icons in the assigned block, which is not esthetically pleasing.
Great theme though!

Priority:Normal» Major

Seeing the same issue with tables (both code-based and user submitted) ignoring the no boarders attribute. No luck so far finding a work around.

There is the following fragment in style.css that - I thought - is causing the behaviour:

tr td, tr th {
border:1px solid #bbb;
padding: 0 6px;
}

Overriding this by putting this in local.css solves this annoying behaviour partly:

tr td, tr th {
border:0;
}

The border-top is still there. Apparently there is still a border-top:1px statement in there somewhere....

Jan

Adding this to local.css finished the job:

tbody {
border-top: none;
}

(see here: http://drupal.org/node/994578)

Jan

Issue summary:View changes

The above solution applies this to all blocks. What if I need to use borders in tables that are in the content area. e.g body of the content.

Never mind. I just tried something simple and it worked. What I did is modified local.css to remove all borders and leave them only in content region, like so:

tr td, tr th {
border:0px solid #bbb;
padding: 0 6px;
}
#content tr td, tr th  {
border: 1px solid #bbb;
padding: 0 6px;
}