PDA

View Full Version : Resolved All Levels Nav Menu Sizing question



TreeTopsRanch
01-20-2009, 12:00 AM
1) Script Title: All Levels Navigational Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm

3) Describe problem:

For the life of me I can't seem to re-size the sub-menus. I just want to make the sub-menu smaller. (i.e.not as wide as shown in example)

Changing the CSS file where it says width: 160px; /*width of menu (not including side paddings)*/ doesn't seem to do it correctly. It leaves borders hanging in mid-air.

Nile
01-20-2009, 03:52 AM
Change the highlighted line:


.ddsubmenustyle li a{
display: block;
width: 160px; /*width of menu (not including side paddings)*/
color: black;
background-color: lightyellow;
text-decoration: none;
padding: 4px 5px;
border-bottom: 1px solid black;
}

TreeTopsRanch
01-20-2009, 03:50 PM
Thank You. For some reason it didn't display correctly in FrontPage but when published to the server it worked correctly. and I had to change the IE6 width property to match.

Nile
01-20-2009, 10:39 PM
I'm glad to help you TreeTopsRanch.