Bonjour,
je suis débutant en CSS
comme ci-dessous
http://asor.free.fr/css/css.jpg
pour quelle raison je n'arrive pas à avoir le menu à côté de la page principale ?
voici ma page :
http://asor.free.fr/css/index.htm
[b]code css[/i]
Merci d'avance pour la correction de mes erreurs
je suis débutant en CSS
comme ci-dessous
http://asor.free.fr/css/css.jpg
pour quelle raison je n'arrive pas à avoir le menu à côté de la page principale ?
voici ma page :
http://asor.free.fr/css/index.htm
[b]code css[/i]
#navlist
{
color: white;
background: #006699;
border-bottom: 0px solid #006699;
border-right: 0px solid #006699;
margin-left: 0;
margin-top: 0;
margin-bottom: 0;
width: 100%;
font-style:normal;
font-variant:normal;
font-weight:normal;
font-size:10px;
font-family:Verdana, sans-serif;
padding-left:0px;
padding-right:0px;
padding-top:6px;
padding-bottom:6px
}
#navlist li
{
list-style: none;
margin: 10px;
font-size: 10px;
}
#navlist a
{
display: block;
text-decoration: none;
margin-bottom: 0;
margin-top: 0;
color: white;
background: #336699;
border-width: 1px;
border-style: solid;
border-color: #5bd #035 #068 #6cf;
border-left: 6px solid #fc0;
padding: 0.25em 0.5em 0.4em 0.75em;
}
#navlist a#current
{
background: #336699;
border-color: #006699 #66ccf f #55bbdd;
padding: 0.4em 0.35em 0.25em 0.9em
}
#navlist a
{
width: 99%;
/* only necessary for Internet Explorer */
}
#navlist a
{
voice-family: "\"}\"";
voice-family: inherit;
width: 9.6em;
/* Tantek-hack should only used if Internet-Explorer 6 is in standards-compliant mode */
}
#navcontainer>#navlist a
{
width: auto;
/* only necessary if you use the hacks above for the Internet Explorer */
}
#navlist a:hover, #navlist a#current:hover
{
background: #28b;
border-color: #069 #6cf #5bd red;
padding: 0.4em 0.35em 0.25em 0.9em;
}
#navlist a:active, #navlist a#current:active
{
background: #17a;
border-color: #069 #6cf #5bd white;
padding: 0.4em 0.35em 0.25em 0.9em;
}
.texte
{
background: #ffffff;
text-align: justify;
font-family: Times;
font-weight: normal;
font-size: 12pt;
margin-left: 12px;
margin-top:0px;
margin-bottom:6px;
padding: 0.4em 0.35em 0.25em 0.9em;
}
h1
{
background: #ffffff;
text-align: center;
font-family: Times;
font-weight: normal;
font-size: 16pt;
}
.img1
{
left: 10%;
top: 70%
}
#body
{
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 0.8em;
margin: 0;
padding: 0;
}
#header {
height: 70px;
background-color: #336699;
}
#conteneur {
position: absolute;
width: 100%;
background-color:#336699;
}
#centre {
background-color:#ffffff;
margin-left: 150px;
padding:12px;
}
#gauche {
position: absolute;
left:6px;
width: 150px;
}
#pied {
height: 30px;
background-color: #336699;
}
p
{
margin: 0 0 10px 0;
}
Merci d'avance pour la correction de mes erreurs