Posted by Geir19 on August 20, 2009 at 12:05pm
I have created a table inside a node. The table is fine but there is a strange thin line at the top of the table. It's a gray thin line. Is there a way to remove it?!
I have created a table inside a node. The table is fine but there is a strange thin line at the top of the table. It's a gray thin line. Is there a way to remove it?!
Comments
Theme?
Have you tried changing the theme to see if that makes a difference? Also, you may can edit the theme settings (global or theme-specific) to remove the line... perhaps there's a setting related to that for tables?
It looks like the problem is
It looks like the problem is theme independent. I still see the line after changing the theme. Which files I need to verify?!
"Firebug" or "Web Developer"
Hi Gear,
Drupal loads a lot of css files beyond your theme css'. And (as you know) you need to find the css rule which is causing that gray line.
To do this you may want to use some very powerful Firefox add-ons as "Firebug" or "Web Developer".
They will help you to narrow down all the style rules referring to an html element, even if they were part of Drupal core files.
Hi Geir19, I'm using this
Hi Geir19,
I'm using this Drupal module to get rid of all those "hidden" styles (works with Firefox):
Should help you to find that "line"!
Bye
Zoo
I had such problem in
I had such problem in Bluemarine. Are you using this theme?
You need to paste some text in style.css:
tbody {
border-top: 0px solid #ccc;
}
And then clean a site's cache.
In the system.css you can see table border's parametres. This problem because of them.
Thank You Irina
FYI:
"Well" (above) has solved this problem for me, and I am using the Deco theme.
I added the css to my style.css document and it was fixed.
thanks
yep,
thanks for this thread.
I was modifying "clean" theme
and had a weird line above tables...
that css fix in clean's css/htmlelements.css
adding
/* http://drupal.org/node/554632 */
/* maybe system.css puts thin line on top tables */
tbody {
border-top: 0px solid #ccc;
}
got rid of that line.
good post
this post is very very useful for everyone.
this post is very nice. this very very useful for everyone. because it have very good information. and i an very impressed by this post. thanks for shear this post with us. seo propo
.
Seen that line a ton of times too. By default, Drupal adds "border-collapse: collapse" to tables. I fix this by adding this in my CSS:
table {border-collapse: separate;
}
Fixing the grey line
I wrote an article about this years ago:
http://irolo.net/drupal_firefox_and_the_mysterious_grey_line
--
Read more at iRolo.net