Menu Bar Blues
- atlnycdude
- Newbie


- Joined: Dec 30, 2008
- Posts: 6
- Status: Offline
Something is not right and it seems to cause a disaster to the rest of the website that I'm creating. I'm using ul, and li to create my menu and submenu's I have Home | About us | Our Services | Contributions | Contact Us
I would like to the following items for the submenu's
About Us -> Introduction -> Mission Statement
Our Services -> Pre School -> Teen Empowerment
Contact Us -> Newsletter
Here is the code for the site
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Precious Jewels Learning Incorporated - Home</title>
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
-->
</style>
</head>
<body>
<div id="wrapper">
<div id="header"><div id="followus">
<div id="facebook"><img src="images/header/Precious-Jewels-Learning-Incorporated - email.jpg" width="37" height="59" alt="contact" /></div>
<div id="twitter"><img src="images/header/Precious-Jewels-Learning-Incorporated - home.jpg" width="42" height="59" alt="home" /></div>
<div id="home"><img src="images/header/Precious-Jewels-Learning-Incorporated - twitter.jpg" width="46" height="59" alt="twitter" /></div>
<div id="contact"><img src="images/header/Precious-Jewels-Learning-Incorporated - facebook.jpg" width="56" height="57" alt="facebook" /></div></div></div>
<div id="navigation">
<ul id="menuOne" class="menuHoriz">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="services.html">Our Services</a></li>
<li><a href="contributions.html">Contributions</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
<ul id="menuSubTwo" class="menuVert">
<li><a href="intro.html">Introduction</a></li>
<li><a href="mission.html">Mission Statement</a></li>
</ul>
<ul id="menuSubThree" class="menuVert">
<li><a href="pre.html">Pre School</a></li>
<li><a href="teen.html">Teen Empowerment</a></li>
</ul>
<ul id="menuSubFive" class="menuVert">
<li><a href="newsletter.html">Newsletter</a></li>
</ul>
</div>
<div id="body">
<div id="left" width="315" height="290"><img src="images/body/Precious-Jewels-Learning-Incorporated---ezekial.jpg" width="315" height="290" alt="ezekial" /></div>
<div id="right"><img src="images/body/Precious-Jewels-Learning-Incorporated---picture-gallery.jpg" width="372" height="306" alt="pic gallery" /></div>
<div id="footer"></div>
</div>
</div>
</body>
</html>
Css
* {
margin: 0px;
padding: 0px;
}
#wrapper {
width: 814px;
margin-right: auto;
margin-left: auto;
}
#wrapper #header {
background-image: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20header.jpg);
background-repeat: no-repeat;
height: 217px;
}
/*Navigation*/
#wrapper #navigation {
position: relative;
height: 47px;
width: 817px;
background-image: url(../images/navigation/Precious-Jewels-Learning-Incorporated_03.jpg);
background-repeat: no-repeat;
padding-top: 18px;
font-size:14pt;
}
#wrapper #navigation ul, #wrapper #navigation li {
margin: 0;
padding: 0;
}
#wrapper #navigation ul {
list-style-type: none;
}
#wrapper #navigation li {
display: block;
background-color: #ffcd05;
width: 110px;
height: 40px;
margin: 0 3px 0 0;
padding: 0;
}
#wrapper #navigation a:link, #navigation a:visited {
font-family: Porky;
color: #000;
text-decoration:none;
}
#wrapper #navigation a:hover{
color: #003cbe;
}
#wrapper #navigation a{
display: block;
margin: 0;
padding: 0 3px;
}
ul.menuHoriz li {
float: left;
}
ul.menuVert li {
position: absolute;
top: 30px;
}
ul#menuSubTwo ( left: 32px }
ul#menuSubThree ( left: 147px }
ul#menuSubFive ( left: 262px }
/*ul#menuSubTwo ( left: 32px } Future expansion */
/*end of navigation*/
#wrapper #body {
background-image: url(../images/body/Precious-Jewels-Learning-Incorporated-body.jpg);
height: 411px;
}
#wrapper #body #left {
height: 290px;
width: 315px;
float: left;
margin: 0 20px;
padding: 28px;
}
#wrapper #body #right {
float: right;
height: 306px;
width: 369px;
margin: 15px;
}
#wrapper #body #footer {
background-image: url(../images/footer/Precious-Jewels-Learning-Incorporated-footer.jpg);
height: 100px;
clear: both;
font-family: "Arial Black", Gadget, sans-serif;
color: #FFF;
}
#wrapper #header #followus #facebook, #wrapper #header #followus #twitter, #wrapper #header #followus #home, #wrapper #header #followus #contact {
height: 57px;
width: 56px;
margin: 0 5px;
padding: 0px;
float: right;
}
#wrapper #header #followus #contact {
/* background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20email.jpg) no-repeat;*/
}
#wrapper #header #followus #facebook {
/* background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20facebook.jpg) no-repeat;*/
}
#wrapper #header #followus #twitter {
/*background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20twitter.jpg) no-repeat;
*/}
#wrapper #header #followus #home {
/*background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20home.jpg) no-repeat;*/
}
#wrapper #header #followus {
margin: 0px;
padding: 0px;
}
You're assistance will be greatly appreciated. Thanks!
I would like to the following items for the submenu's
About Us -> Introduction -> Mission Statement
Our Services -> Pre School -> Teen Empowerment
Contact Us -> Newsletter
Here is the code for the site
Code: [ Select ]
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Precious Jewels Learning Incorporated - Home</title>
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
-->
</style>
</head>
<body>
<div id="wrapper">
<div id="header"><div id="followus">
<div id="facebook"><img src="images/header/Precious-Jewels-Learning-Incorporated - email.jpg" width="37" height="59" alt="contact" /></div>
<div id="twitter"><img src="images/header/Precious-Jewels-Learning-Incorporated - home.jpg" width="42" height="59" alt="home" /></div>
<div id="home"><img src="images/header/Precious-Jewels-Learning-Incorporated - twitter.jpg" width="46" height="59" alt="twitter" /></div>
<div id="contact"><img src="images/header/Precious-Jewels-Learning-Incorporated - facebook.jpg" width="56" height="57" alt="facebook" /></div></div></div>
<div id="navigation">
<ul id="menuOne" class="menuHoriz">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="services.html">Our Services</a></li>
<li><a href="contributions.html">Contributions</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
<ul id="menuSubTwo" class="menuVert">
<li><a href="intro.html">Introduction</a></li>
<li><a href="mission.html">Mission Statement</a></li>
</ul>
<ul id="menuSubThree" class="menuVert">
<li><a href="pre.html">Pre School</a></li>
<li><a href="teen.html">Teen Empowerment</a></li>
</ul>
<ul id="menuSubFive" class="menuVert">
<li><a href="newsletter.html">Newsletter</a></li>
</ul>
</div>
<div id="body">
<div id="left" width="315" height="290"><img src="images/body/Precious-Jewels-Learning-Incorporated---ezekial.jpg" width="315" height="290" alt="ezekial" /></div>
<div id="right"><img src="images/body/Precious-Jewels-Learning-Incorporated---picture-gallery.jpg" width="372" height="306" alt="pic gallery" /></div>
<div id="footer"></div>
</div>
</div>
</body>
</html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Precious Jewels Learning Incorporated - Home</title>
- <link href="css/layout.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- <!--
- -->
- </style>
- </head>
- <body>
- <div id="wrapper">
- <div id="header"><div id="followus">
- <div id="facebook"><img src="images/header/Precious-Jewels-Learning-Incorporated - email.jpg" width="37" height="59" alt="contact" /></div>
- <div id="twitter"><img src="images/header/Precious-Jewels-Learning-Incorporated - home.jpg" width="42" height="59" alt="home" /></div>
- <div id="home"><img src="images/header/Precious-Jewels-Learning-Incorporated - twitter.jpg" width="46" height="59" alt="twitter" /></div>
- <div id="contact"><img src="images/header/Precious-Jewels-Learning-Incorporated - facebook.jpg" width="56" height="57" alt="facebook" /></div></div></div>
- <div id="navigation">
- <ul id="menuOne" class="menuHoriz">
- <li><a href="index.html">Home</a></li>
- <li><a href="about.html">About Us</a></li>
- <li><a href="services.html">Our Services</a></li>
- <li><a href="contributions.html">Contributions</a></li>
- <li><a href="contact.html">Contact Us</a></li>
- </ul>
- <ul id="menuSubTwo" class="menuVert">
- <li><a href="intro.html">Introduction</a></li>
- <li><a href="mission.html">Mission Statement</a></li>
- </ul>
- <ul id="menuSubThree" class="menuVert">
- <li><a href="pre.html">Pre School</a></li>
- <li><a href="teen.html">Teen Empowerment</a></li>
- </ul>
- <ul id="menuSubFive" class="menuVert">
- <li><a href="newsletter.html">Newsletter</a></li>
- </ul>
- </div>
- <div id="body">
- <div id="left" width="315" height="290"><img src="images/body/Precious-Jewels-Learning-Incorporated---ezekial.jpg" width="315" height="290" alt="ezekial" /></div>
- <div id="right"><img src="images/body/Precious-Jewels-Learning-Incorporated---picture-gallery.jpg" width="372" height="306" alt="pic gallery" /></div>
- <div id="footer"></div>
- </div>
- </div>
- </body>
- </html>
Css
Code: [ Select ]
* {
margin: 0px;
padding: 0px;
}
#wrapper {
width: 814px;
margin-right: auto;
margin-left: auto;
}
#wrapper #header {
background-image: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20header.jpg);
background-repeat: no-repeat;
height: 217px;
}
/*Navigation*/
#wrapper #navigation {
position: relative;
height: 47px;
width: 817px;
background-image: url(../images/navigation/Precious-Jewels-Learning-Incorporated_03.jpg);
background-repeat: no-repeat;
padding-top: 18px;
font-size:14pt;
}
#wrapper #navigation ul, #wrapper #navigation li {
margin: 0;
padding: 0;
}
#wrapper #navigation ul {
list-style-type: none;
}
#wrapper #navigation li {
display: block;
background-color: #ffcd05;
width: 110px;
height: 40px;
margin: 0 3px 0 0;
padding: 0;
}
#wrapper #navigation a:link, #navigation a:visited {
font-family: Porky;
color: #000;
text-decoration:none;
}
#wrapper #navigation a:hover{
color: #003cbe;
}
#wrapper #navigation a{
display: block;
margin: 0;
padding: 0 3px;
}
ul.menuHoriz li {
float: left;
}
ul.menuVert li {
position: absolute;
top: 30px;
}
ul#menuSubTwo ( left: 32px }
ul#menuSubThree ( left: 147px }
ul#menuSubFive ( left: 262px }
/*ul#menuSubTwo ( left: 32px } Future expansion */
/*end of navigation*/
#wrapper #body {
background-image: url(../images/body/Precious-Jewels-Learning-Incorporated-body.jpg);
height: 411px;
}
#wrapper #body #left {
height: 290px;
width: 315px;
float: left;
margin: 0 20px;
padding: 28px;
}
#wrapper #body #right {
float: right;
height: 306px;
width: 369px;
margin: 15px;
}
#wrapper #body #footer {
background-image: url(../images/footer/Precious-Jewels-Learning-Incorporated-footer.jpg);
height: 100px;
clear: both;
font-family: "Arial Black", Gadget, sans-serif;
color: #FFF;
}
#wrapper #header #followus #facebook, #wrapper #header #followus #twitter, #wrapper #header #followus #home, #wrapper #header #followus #contact {
height: 57px;
width: 56px;
margin: 0 5px;
padding: 0px;
float: right;
}
#wrapper #header #followus #contact {
/* background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20email.jpg) no-repeat;*/
}
#wrapper #header #followus #facebook {
/* background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20facebook.jpg) no-repeat;*/
}
#wrapper #header #followus #twitter {
/*background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20twitter.jpg) no-repeat;
*/}
#wrapper #header #followus #home {
/*background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20home.jpg) no-repeat;*/
}
#wrapper #header #followus {
margin: 0px;
padding: 0px;
}
- * {
- margin: 0px;
- padding: 0px;
- }
- #wrapper {
- width: 814px;
- margin-right: auto;
- margin-left: auto;
- }
- #wrapper #header {
- background-image: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20header.jpg);
- background-repeat: no-repeat;
- height: 217px;
- }
- /*Navigation*/
- #wrapper #navigation {
- position: relative;
- height: 47px;
- width: 817px;
- background-image: url(../images/navigation/Precious-Jewels-Learning-Incorporated_03.jpg);
- background-repeat: no-repeat;
- padding-top: 18px;
- font-size:14pt;
- }
- #wrapper #navigation ul, #wrapper #navigation li {
- margin: 0;
- padding: 0;
- }
- #wrapper #navigation ul {
- list-style-type: none;
- }
- #wrapper #navigation li {
- display: block;
- background-color: #ffcd05;
- width: 110px;
- height: 40px;
- margin: 0 3px 0 0;
- padding: 0;
- }
- #wrapper #navigation a:link, #navigation a:visited {
- font-family: Porky;
- color: #000;
- text-decoration:none;
- }
- #wrapper #navigation a:hover{
- color: #003cbe;
- }
- #wrapper #navigation a{
- display: block;
- margin: 0;
- padding: 0 3px;
- }
- ul.menuHoriz li {
- float: left;
- }
- ul.menuVert li {
- position: absolute;
- top: 30px;
- }
- ul#menuSubTwo ( left: 32px }
- ul#menuSubThree ( left: 147px }
- ul#menuSubFive ( left: 262px }
- /*ul#menuSubTwo ( left: 32px } Future expansion */
- /*end of navigation*/
- #wrapper #body {
- background-image: url(../images/body/Precious-Jewels-Learning-Incorporated-body.jpg);
- height: 411px;
- }
- #wrapper #body #left {
- height: 290px;
- width: 315px;
- float: left;
- margin: 0 20px;
- padding: 28px;
- }
- #wrapper #body #right {
- float: right;
- height: 306px;
- width: 369px;
- margin: 15px;
- }
- #wrapper #body #footer {
- background-image: url(../images/footer/Precious-Jewels-Learning-Incorporated-footer.jpg);
- height: 100px;
- clear: both;
- font-family: "Arial Black", Gadget, sans-serif;
- color: #FFF;
- }
- #wrapper #header #followus #facebook, #wrapper #header #followus #twitter, #wrapper #header #followus #home, #wrapper #header #followus #contact {
- height: 57px;
- width: 56px;
- margin: 0 5px;
- padding: 0px;
- float: right;
- }
- #wrapper #header #followus #contact {
- /* background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20email.jpg) no-repeat;*/
- }
- #wrapper #header #followus #facebook {
- /* background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20facebook.jpg) no-repeat;*/
- }
- #wrapper #header #followus #twitter {
- /*background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20twitter.jpg) no-repeat;
- */}
- #wrapper #header #followus #home {
- /*background: url(../images/header/Precious-Jewels-Learning-Incorporated%20-%20home.jpg) no-repeat;*/
- }
- #wrapper #header #followus {
- margin: 0px;
- padding: 0px;
- }
You're assistance will be greatly appreciated. Thanks!
- Anonymous
- Bot


- Joined: 25 Feb 2008
- Posts: ?
- Loc: Ozzuland
- Status: Online
June 7th, 2010, 12:05 pm
Page 1 of 1
To Reply to this topic you need to LOGIN or REGISTER. It is free.
Post Information
- Total Posts in this topic: 1 post
- Users browsing this forum: No registered users and 106 guests
- You cannot post new topics in this forum
- You cannot reply to topics in this forum
- You cannot edit your posts in this forum
- You cannot delete your posts in this forum
- You cannot post attachments in this forum
