Can someone please help with navigation bar?
Barbara White
Posted: Tuesday, June 12, 2012 12:44:27 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 7/4/2011
Posts: 514
Location: Surrey
Hi, after hacking all the old posts, I've been trying to get a horizontal navigation bar working...for some reason it is appearing as vertical.
The basic table and all the links are working, but it's seems like it is not recognizing my CSS style changes. Can anyone spot a reason why it might not be working? PS(I'm a novice at this, so it could be something really simple..lol) Here is the opening code for my table and the CSS code I entered:

<table class="center" width="900" cellpadding="0" cellspacing="0">
<tr>
<td>
<div id="MENU">
<ul>
<li>
<a href="http://www.zazzle.com/iiphotoart/gifts?cg=196649538546570928">ACCESSORIES</a>

etc, etc.




/* HORIZONTAL NAV BAR STYLE */
#menu{
padding:0;
margin:10px;
width: 100%;
background-color: #939a8b;
border-bottom: 1px solid #fff;
height:31px;
border-width:medium;
border-color:#000000;
border-style: double;
}
#menu ul{
padding:0;
width: 777px;
margin: 0 auto;
}
#menu li{
position: relative;
float:left;
list-style: none;
margin-left: 25px;
padding:0;
background-color: #939a8b;
font-size:14px;
font-weight:bold;
text-align:center;
}
#menu li a{
font-weight: bold;
display: block;
text-decoration:none;
text-align: center;
color: #efede8;
padding: 8px 12px;
border-right: 0px solid #fff;
line-height: 15px;
}
#menu li a:hover{
background-color: #d8caa6;
color: #474C60;
}
#menu ul ul{
position: absolute;
top: 30px;
visibility: hidden;
z-index: 1000;
}
#menu ul ul li, #menu ul ul li a {
clear:both;
width:25%;
text-align:left;
margin:0px;
padding:2px;

}
#menu ul li:hover ul{
visibility:visible;
z-index: 1000;
}



Peter Wuebker
Posted: Tuesday, June 12, 2012 2:55:42 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 4/7/2008
Posts: 660
Check out M's post in here . . . all questions answered. M is great.
Barbara White
Posted: Tuesday, June 12, 2012 5:37:49 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 7/4/2011
Posts: 514
Location: Surrey
thanks PJ, I'll do that....I noticed M's question and answer post right after I put this here. Smile
OLPamPam
Posted: Friday, June 15, 2012 3:34:16 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 7/5/2009
Posts: 301
Location: North Bay
I think it's the fact that you have MENU in caps in your html and menu in lower case in your CSS. I'm pretty sure that matters.
Barbara White
Posted: Friday, June 15, 2012 4:55:04 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 7/4/2011
Posts: 514
Location: Surrey
Ahhhh, good point OlPam. I'll watch out for that in future.ThanksSmile !
OLPamPam
Posted: Wednesday, June 20, 2012 11:26:00 AM
 Zazzle Proseller
Groups: ProSeller

Joined: 7/5/2009
Posts: 301
Location: North Bay
You're welcome. So did it work? I looked at your store, but don't see it there yet.
Barbara White
Posted: Thursday, June 21, 2012 8:00:40 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 7/4/2011
Posts: 514
Location: Surrey
I never got time to try again Pam......have gotten busy creating products and decided to just leave it as is for the moment. I'll tinker away at it another day. Smile
OLPamPam
Posted: Thursday, June 21, 2012 8:25:47 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 7/5/2009
Posts: 301
Location: North Bay
Yeah, it can be time consuming. Let me know when you get a chance. I'd love to see it.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Print this topic
RSS Feed
Normal
Threaded