PDA

View Full Version : Outline Added Submenu - Plz Help


mischa1
08-15-2008, 06:37 PM
Hi,

I have added a red submenu (submenu.tpl) to match the layout of my main site. Now the distance to the blue top bar below is to wide. I want the red submenu (3 buttons) to rest upon the blue top bar. Anybody can give me some help with this??

see the picture for details
Content visible to registered users only.

Thanks!

bruleo
08-15-2008, 06:57 PM
It is likely to be a margin or padding in one of the containing divs of either the menu or your new submenu.

The easiest way to find out is to temporarly put a border around any suspect divs by adding 'border: 1px red solid;' into the css class. If the gap is within a border, then it is likely the 'padding' needs to be adjusted. (Remember that padding is included in the width and height of any div).

If it's outside the border, it is more than likely the 'margin' of one of the divs. Or, it could be a rogue character or a ' ' somewhere in your html.

Bruce.