Addendum:I forgot to mention the centering is a problem in Firefox but works fine in IE6 and IE7 Del ----- Original Message ----- From: "Del Wegener" <[EMAIL PROTECTED]> To: "css" <[email protected]> Sent: Sunday, April 20, 2008 11:52 AM Subject: [css-d] Horizontal Menu does not Center
> Good Day; > Please check > http://www.cpdesigncenter.com/private/private_index.html > Notice the menu at the top is not centered between the two logos (right & > left). > Here is the CSS > > .menu5 {padding:0 0 0 1em; margin:0; list-style:none; height:20px; > position:relative; font-size:8px;} > .menu5 li {float:left; height:30px; margin-right:0px;} > .menu5 li a {display:block; float:left; height:30px; line-height:30px; > color:#333; text-decoration:none; font-family: verdana, arial, sans-serif; > font-weight:normal; text-align:center; padding:0 3 0 3px; cursor:pointer; > background:url(image/pro_five_0a.gif) no-repeat;} > .menu5 li a b {float:left; display:block; padding:0 6px 0px 6px; > background:url(image/pro_five_0b.gif) no-repeat right top;} > .menu5 li.current a {color:#000; background:url(image/pro_five_2a.gif) > no-repeat;} > .menu5 li.current a b {background:url(image/pro_five_2b.gif) no-repeat > right > top;} > .menu5 li a:hover {color:#000; background: url(image/pro_five_1a.gif) > no-repeat;} > .menu5 li a:hover b {background:url(image/pro_five_1b.gif) no-repeat right > top;} > .menu5 li.current a:hover {color:#000; background: > url(image/pro_five_2a.gif) no-repeat; cursor:default;} > .menu5 li.current a:hover b {background:url(image/pro_five_2b.gif) > no-repeat > right top;} > > What must I do to make the menu appear centered between the two logos > regardless of the size of the view window? > > Thanks for any suggestions. > > Del > [EMAIL PROTECTED] > > > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
