I deleted everything and started with a fresh menu in case I was doing
something wrong. I used the Horizontal setting with the default style and
added the code from your tutorial on the bottom line.
In Firefox & Opera, the width is dependant on the size of the text, and they
all line up across the page aligned to the left (so there's an empty gap to
the right - which I'd like to have all centered later, but it's no big deal
if I can't). In IE however, each menu item spans across the entire width of
the page and they are listed one under each other.
How do I fix this?
The CSS code is below:
/*
-----------------------------------
PopMenu Magic Style Sheet
by Project Seven Development
www.projectseven.com
Menu Type: Horizontal
Style Theme:0 -Basic Style
-----------------------------------
*/
#p7PMnav {
margin: 0;
padding:0;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 11px;
border-left: 2px #ffffff solid;
border-right: 2px #ffffff solid;}
#p7PMnav li {
list-style-type: none;
margin: 0;
padding: 0;
}
#p7PMnav ul {
margin: 0;
padding: 0;
background-color: #394c2e;
border: 1px solid #000000;
position: absolute;
left: -9000px;
z-index: 10000;
}
#p7PMnav a {
display: block;
text-decoration: none;
padding: 4px 10px;
color: #666666;
line-height:1;
}
#p7PMnav a:hover, #p7PMnav a:active, #p7PMnav a:focus {
background-color: #0066FF;
color: #FFFFFF;
letter-spacing: .01px;
}
/* ------ the current page marker style ------ */
#p7PMnav .p7PMmark {
color: #333333;
font-weight: bold;
}
/* ------ the trigger link styles ------- */
/*the trigger link */
#p7PMnav ul .p7PMtrg, #p7PMnav ul .p7PMon {
background-image: url(img/p7PM_dark_east.gif);
background-repeat: no-repeat;
background-position: right center;
}
/* the active trigger link style */
#p7PMnav .p7PMon {
background-color: #0066FF;
color: #FFFFFF;
}
/*the submenu classes */
#p7PMnav .p7PMhide {
left: -9000px;
}
#p7PMnav .p7PMshow {
left: auto;
z-index: 20000 !important;
}
/* Top level menu width */
#p7PMnav li {
float: left;
width: 124px;
}
#p7PMnav ul li {
float: none;
}
#p7PMnav ul, #p7PMnav ul li {
width: 172px;
}
#pmmcrumb {
font-weight: bold;
margin-bottom: 16px;
color: #333333;
}
#pmmcrumb a, #pmmcrumb a:visited {
font-weight: normal;
color: #535FAC;
}
#pmmcrumb a:hover, #pmmcrumb a:active, #pmmcrumb a:focus {
font-weight: normal;
color: #333333;
}
/* The single backslash \ character inside this comment
causes IE5 Mac to ignore the following rule, which allows other
browsers to render top-level menu items to their natural width. */
#p7PMnav li {width: auto;}
Joanne
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/