Re: Mon menu | Titre du sujet : Re: Mon menu par misterd sur 29/07/2009 21:09:00
Voici le css de mon menu, j'avoue ne pas y comprendre grand chose a ton explication :s si tu pouvais m'eclairer via le code stp, merci d'avance ^^
/* Menu */
#top-menu {
width: 1000px;
height: 30px;
margin: 0 auto;
padding: 0;
background: url(../img/top-menu.jpg) left repeat-x;
border:1px solid #cccaca;
}
*html #top-menu {
margin: 0 auto 5px auto;
}
*+html #top-menu {
margin: 0 auto 5px auto;
}
#menu{
float: left;
}
#menu ul {
margin: 0;
padding: 0;
list-style: none;
line-height: 30px;
}
#menu li {
float: left;
}
#menu a {
display: block;
padding: 0 20px 0 0;
text-transform: uppercase;
text-decoration: none;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #333333;
border: none;
}
#menu a:hover, #menu .current_page_item a {color: #ff7e16;}
#menu a:hover {text-decoration: underline;}
#slogan-header{
width: 821px;
height: 199px;
background: url(../img/slogan-header.jpg) no-repeat top;
border:1px solid #cccaca;
}
#xo-canvas {
width: 1002px;
margin: 0 auto;
padding: 0px;
background: #fff;
}
*html #xo-canvas {width: 1002px;}
*+html #xo-canvas {width: 1002px;}
#xo-canvas-content {
padding-top: 5px;
margin:0px;
}
#xo-page {
width: 100%;
}
/* hypertext links */
a {
text-decoration: none;
border: none;
color: #0079AC;
}
a:hover {
background: none;
}
|
|