PDA

View Full Version : Trouble with menu.



P_STAVO_X
11 Dec 2009, 09:02 PM
Hey guys I was wondering if you guys could help me. Im trying to make a menu type of bar for my website but I'm having troubles making it fit the screen.

If you look at this: https://email.secureserver.net/login.php
You can see the top fits the screen perfectly with no padding or spaces in between the html or the window.
If you see mine: http://new.paradoxservers.com/
Its completely the opposite. There is that annoying padding. Also if someone could help me deal with pesky percentages so the right and left part of the menu take 100% of what is left after the center <div>'s take there place.

Thanks,
Stavo :nana:

aeroweb99
11 Dec 2009, 11:16 PM
They use a background image repeated across in a div, then the logo and stuff is actually above that. I can't find the body tag in their css (there's a lot of css), but it would have the margins set to zero, not the padding. Browsers have their own margins for the body, which is usually 15 px I think. It will vary among browsers though. That's where your space is coming from.

EDIT:::
I found the body css-

body.login-body {
background-color: #f5f5f5;
color: #000000;
font-family: Arial, verdana, Helvetica, sans-serif;
font-size: 12px;
margin: 0;
line-height: 1;
min-width: 680px;
height: auto !important;
height: 1%;
}