How to remove space above (IE) or below (firefox) navbar (nice menu problem)

tenek - June 12, 2009 - 21:01
Project:Zen
Version:6.x-1.0-beta3
Component:layout.css
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Anyone know how I can change the spacing above & below the navbar in zen?

Here is my problem: I want my navbar to be flush with the header and the content (i.e. no padding or margins above or below the navbar). If I decrease the height of the navbar (and make the corresponding change to the sidebar margin-top) I can eliminate the space below the navbar in firefox. However, in firefox there is still a space above, and in IE there is still a space below the navbar. If I make the height any smaller the navbar starts going behind the content. I can't find any property to eliminate that space.

My setup: I disabled the primary menu in the template and am using a block to show the primary menus. I am also using nice menus so I can do a drop down menu.

Any tips?

Thanks!

#1

tenek - June 15, 2009 - 02:18
Title:How to remove space above (IE) or below (firefox) navbar» How to remove space above (IE) or below (firefox) navbar (nice menu problem)

FIXED

I had to remove "float:left" from the following code in my custom nice menu css file:

ul.nice-menu-down {
  float: left; /* LTR */
  border: 0;
}

Not sure why, but thought I should post in case someone else has this problem.

 
 

Drupal is a registered trademark of Dries Buytaert.