When I make a table in Drupal-managed content, it appears in a displeasing way. It's like the table is tagged with "width=100%" and a thin horizontal grey line along the top. Does anyone know the magic words to css or whatever to get a default table, without inheriting whatever funky stiles are cascading down from drupal or the theme?

Comments

coreyp_1’s picture

Check out the <tbody> element and it's css for the evil grey line.

As for the width, I don't believe that Drupal core sets the width to 100%, but perhaps it's your theme? If you post a link, we can look at it.

- Corey

svref’s picture

Theres at table towards the bottom - look for the evil grey line and the paypal button.
http://cartky.org/node/168

coreyp_1’s picture

Yes, the table width is specified around line 193 of style.css in your theme (garland) directory.

tbody is defined elsewhere, but can be changed in this same CSS file.

Please note: any time you alter garland's CSS, you probably have to re-submit the theme's settings in order for them to take effect.

Just a suggestion, try the Firebug extension for Firefox. It makes theme developing/trouble-shooting a whole lot easier!

- Corey