How to remove gray line between header and content?

zacamjo - January 29, 2007 - 02:05
Project:B7
Version:5.x-1.0
Component:Style
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello, I'm new to Drupal and was about to use 4.7 when 5x launched. I noticed the B7 theme was available for 5x so I've installed it, but am troubled by the gray (#ccc) line that spans the width of the page below the header/logo and above the content area. I noticed this is not present in the 4.7 version of the B7 theme; can the gray line be removed?

I'm on a Mac (10.4.8) using Safari and Firefox, this happens in both browsers.

#1

ajayg - January 29, 2007 - 03:14

It does not happen in IE6. But can confirm it happends in Firefox.

#2

bradlis7 - January 29, 2007 - 17:51

In the default css with drupal, it has a border on the tbody element. Firefox evidentally adds the tbody element to all tables by default, so that's why it shows up. I've noticed this before, but haven't gotten around to changing it. You could put this in base.css as a temporary fix:

tbody {
  border: none;
}

#3

zacamjo - January 29, 2007 - 20:27

Thanks, I tried the temp fix but still saw the same issue in both Firefox and Safari. So I dug through the modules/system .css files and found "tbody {border-top: 1px solid #ccc;}" in system.css. I commented out that piece and it works fine now. Thanks for the pointer!

#4

bradlis7 - January 31, 2007 - 17:58
Status:active» fixed

Should be in the 1.2 package in a little while.

#5

Anonymous - February 14, 2007 - 18:01
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.