problem with top lines in template

koffer - January 19, 2007 - 06:03

i begin to do a template based in garland code everything looks good but i have a little anoying detail
i do a template wiht tables (sorry) and i saw a horizontal line in top of each table.

i cant discover where is the css code controlling this horizontal line you can see the problem here:

http://www.crswork.com/?q=node/6

Same problem

spankee - January 21, 2007 - 00:49

I have the same problem.
This only happens in Firefox.

I had a somewhat similar problem

hruodland - January 21, 2007 - 01:27

You might look at /modules/system/system.css.

thanks for the path

koffer - January 22, 2007 - 01:44

i comment this part of the css

/*tbody {
border-top: 1px solid #ccc;
}
tbody th {
border-bottom: 1px solid #ccc;
}
thead th {
text-align: left;
padding-right: 1em;
border-bottom: 3px solid #ccc;
}*/

and the lines disapear

This solved the problem for me also but...

Sc0tt - December 30, 2007 - 06:23

All is had to do is comment out the following:

/*tbody {
border-top: 1px solid #ccc;
}*/

in system.css

Thanks!

great

koffer - January 20, 2008 - 02:12

Really work to comment only this part of the CSS code

I would recommend you to

MasterSolution - January 20, 2008 - 14:04

I would recommend you to override the declaration in your theme's css file rather than commenting it out on the system.css file, because otherwise, you would have to do it again every time you upgrade.

You can simply put this in your theme's css file.

tbody {
  border-top: 0px solid #ccc;
}

Martin
Web Solutions

Great suggestion!

Sc0tt - January 23, 2008 - 21:49

Thanks Martin!
Sc0tt

 
 

Drupal is a registered trademark of Dries Buytaert.