Menu Bar Blues
- atlnycdude
- Newbie


- Inscription: Déc 30, 2008
- Messages: 6
- Status: Offline
Quelque chose n'est pas juste et il semble provoquer une catastrophe pour le reste du site Web qui Im création. Im en utilisant ul et li pour créer mon menu et sous-menus J'ai Accueil | A propos de nous | Nos services Contributions | | Contactez-nous
Je tiens à les items suivants pour les sous-menus
A propos de nous -> Introduction - Énoncé de mission>
Nos Services -> pré-scolaire -> Empowerment Teen
Contactez-nous -> Lettre d'information
Voici le code pour le 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;
}
Youre assistance sera grandement appréciée. Merci!
Je tiens à les items suivants pour les sous-menus
A propos de nous -> Introduction - Énoncé de mission>
Nos Services -> pré-scolaire -> Empowerment Teen
Contactez-nous -> Lettre d'information
Voici le code pour le 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;
- }
Youre assistance sera grandement appréciée. Merci!
- Anonymous
- Bot


- Inscription: 25 Feb 2008
- Messages: ?
- Loc: Ozzuland
- Status: Online
Juin 7th, 2010, 12:05 pm
Page 1 sur 1
Pour répondre à ce sujet, vous devez vous connecter ou vous enregistrer. Il est gratuit.
Afficher de l'information
- Total des messages de ce sujet: 1 message
- Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 66 invités
- Vous ne pouvez pas poster de nouveaux sujets
- Vous ne pouvez pas répondre aux sujets
- Vous ne pouvez pas éditer vos messages
- Vous ne pouvez pas supprimer vos messages
- Vous ne pouvez pas joindre des fichiers
