Bonjour!
Je suis en train d'essayer de me faire une page d'accueil pour ma gallerie (www.instantsmagics.net) en html/css et il me reste un petit prob:
Quand je réduis fort ma fenêtre avec FF les boutons de ma barre de menu se superposent verticalement au lieu de rester côte à côte horizontalement...
aidez-moi siouplait ça fait des jours que je chipotte...
Ma feuille Css:
html, body {
margin: 0;
padding: 0;
height: 100%;
background-color: black;
color: #ccccff;
font-size: 25px;
text-align: center;
}
div#bandeau {
margin-top: 10px;
width: 100%;
height: 50px;
background-color: #000000;
text-align: center;
font-size: 30px;
text-transform: capitalize;
color: #ffffcc;
font-size: 70px;
font-family: Rage Italic;
font-weight: normal;
background-color: black;
line-height: 100%;
}
div#main-menu {
position:relative;
margin-left: 30%;
margin-right: 30%;
bottom:0;
font-family: Rage Italic;
white-space:nowrap;
font-size: 75%;
}
#main-menu li {
display:block;
float:left;
list-style-type:none;
margin:3px;
padding:0;
text-transform: Capitalize;
}
/*Les liens normaux*/
#main-menu a {
display:block;
float:left;
padding:2px 10px 1px 10px;
background:#616161;
border-bottom: 1px solid #808080;
color: #000000;
font-weight: normal;
text-decoration: none;
}
/*Les liens au survol et rubrique en cours*/
#main-menu a:hover, #main-menu #selected a {
color:#000000;
background: #616161;
border-bottom: 2px solid #ffffcc;
font-weight: normal;
text-decoration: none;
}
div#page {
position: relative;
}
div#piedpage {
float:left;
position: absolute;
bottom: 0; left: 0;
width: 100%;
height:50px;
background-color:#000000;
font-family: arial;
font-size: 9px;
text-align: center;
color: #E0E0E0
}
-->Message édité par fabou001 le 18/03/2008 16:42:11<--
|