samgraphiste Posted February 7, 2013 Share Posted February 7, 2013 bonjour, Alors voila j'ai un problème avec mon module de menu XXL il s'aligne a gauche seulement j'aimerais qu'il soit centrer Voici le lien: http://www.galerie-shopping.fr Merci pour votre aide le code css du menu: /* Conteneur menu */ #categoriestopmenuxxl {background:#242522;align:center;clear:both;position:absolute;width:925px;height:62px;font-family:Verdana;font-weight:bold;margin:0px auto;z-index:1000; border-radius:3px;left: 0px} /* Catégories 1er niveau */ #categoriestopmenuxxl_ul li {float:left;list-style-type:none} #categoriestopmenuxxl_ul li.last a {border-right:none} #categoriestopmenuxxl_ul li:hover ul {display:block} #categoriestopmenuxxl_ul a {background:none;border-left:none;border-right:none;display:block;height:31px;color:#EEE;font-size:12px;text-decoration:none;text-shadow:1px 1px 0 #000;padding:22px 8px 9px} #categoriestopmenuxxl_ul a:hover, #categoriestopmenuxxl_ul a.selected {background:#555} /* Lien accueil */ #categoriestopmenuxxl_ul #home {background:#D4198D} #categoriestopmenuxxl_ul #home:hover, #categoriestopmenuxxl_ul #home.selected {background:#B01575} #categoriestopmenuxxl_ul #home a {background:url('../img/home.png') no-repeat center;border:none;height:31px;width:20px;border-left:none} /* Lien promotions */ #categoriestopmenuxxl_ul #specials {float:right} #categoriestopmenuxxl_ul #specials a {background:#CCCCCC;border-right:none;border-left:1px solid #000;border-radius:3px} #categoriestopmenuxxl_ul #specials a:hover, #categoriestopmenuxxl_ul #specials a.selected {background:#333} /* Lien nouveautés */ #categoriestopmenuxxl_ul #new_products {float:right} #categoriestopmenuxxl_ul #new_products a {background:#D4198D;border-right:none;border-left:1px solid #000;border-radius:3px} #categoriestopmenuxxl_ul #new_products a:hover, #categoriestopmenuxxl_ul #new_products a.selected {background:#333} /* Conteneur catégories 2ème niveau */ #categoriestopmenuxxl_ul ul {display:none;background:#FFF;align:center;position:absolute;width:1136px;min-height:290px;border:1px solid #333;top:62px;left:0;z-index:1000} #categoriestopmenuxxl_ul ul li.container {width:280px} /* Récapitulatif catégorie 1er niveau */ #categoriestopmenuxxl_ul ul p {background:#555;float:left;width:240px;padding:10px} #categoriestopmenuxxl_ul ul p a {background:none;display:block;width:240px;color:#EEE;font-weight:bold;text-shadow:1px 1px 0 #000;text-align:left;padding:0} #categoriestopmenuxxl_ul ul p a:hover {color:#EEE} #categoriestopmenuxxl_ul ul p a.node_img {width:240px;height:120px;margin-bottom:10px} #categoriestopmenuxxl_ul ul p a.node_name {height:20px;text-transform:uppercase} #categoriestopmenuxxl_ul ul p a.node_desc {height:90px;font-size:11px;font-weight:normal} #categoriestopmenuxxl_ul ul p a.node_link {height:30px} #categoriestopmenuxxl_ul ul p a.node_link:hover {color:#BBB} /* Catégories 2ème niveau */ #categoriestopmenuxxl_ul ul li {width:150px;margin:10px 10px 0} #categoriestopmenuxxl_ul ul a {background:none;border:none;display:block;height:20px;color:#333;font-weight:bold;text-align:left;text-shadow:none;padding:10px 10px 0} #categoriestopmenuxxl_ul ul a:hover, #categoriestopmenuxxl_ul ul a.selected {background:none;color:#888} /* Catégories 3ème niveau */ #categoriestopmenuxxl_ul ul ul {background:none;border:none;display:block!important;position:relative;width:150px;min-height:100px;top:0!important;padding:0} #categoriestopmenuxxl_ul ul ul li {margin:0} #categoriestopmenuxxl_ul ul ul li a {background:none;border:none;height:auto;color:#888;font-weight:normal;padding:0 10px} #categoriestopmenuxxl_ul ul ul li a:hover, #categoriestopmenuxxl_ul ul ul li a.selected {color:#333} /* Catégories 4ème niveau */ #categoriestopmenuxxl_ul ul ul ul {min-height:50px} #categoriestopmenuxxl_ul ul ul ul li a {font-size:9px;padding-left:20px} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now