PDA

View Full Version : Header/DDmenu padding


Wacrer
Dec-28-2008, 12:29 PM
Hello!

1. Quick question about the space between the header and my nav bar. There is a lot of space there, I have removed the pading that I assumed was keeping these so far apart and it's still to much. http://www.fortecinema.com Have a look there and let me know what you think. Thanks a bunch


2. One more thing, between lvl 1 and lvl 2 on the nav bar there is a small space that sometimes drops navigation between lvl's anyway to fix this?


Scott

Allen
Dec-28-2008, 01:00 PM
Hello!

1. Quick question about the space between the header and my nav bar. There is a lot of space there, I have removed the pading that I assumed was keeping these so far apart and it's still to much. http://www.fortecinema.com Have a look there and let me know what you think. Thanks a bunch


2. One more thing, between lvl 1 and lvl 2 on the nav bar there is a small space that sometimes drops navigation between lvl's anyway to fix this?


Scott Change your banner height from 200 to 35.

#my_banner
{
width: 749px;
height: 35px;
margin: 10px auto;
background: url(http://fullcirclephoto.smugmug.com/photos/249619114_GqXYM-L.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaIma geLoader(enabled=true,sizingmethod=image,src='http ://fullcirclephoto.smugmug.com/photos/249619114_GqXYM-L.png');
}


Change the top to 30 > 29 ... to lose the gap.

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:31px;
left:0;
width:125px; /* Size of the daughter cells */
}

Wacrer
Dec-28-2008, 06:41 PM
Thankyou Allen:)