hkahil Posted June 18, 2010 Share Posted June 18, 2010 bonjourje souhaiterais pouvoir aligner mes produits qui sont dans une categoriesj'ai donc tenter de modificer le css dans global.css: /* product-list.tpl */ ul#product_list { margin-top: 2em; list-style-type: none; } ul#product_list li { background: #d0d3d8 url('../img/block_category_item_bg.jpg') repeat-x; border: solid 1px #d0d3d8; padding: 6px; min-height: 130px; height: auto; clear: both; margin-bottom: 0.3em; } je pensait rajouter :ul#product_list { margin-top: 2em; list-style-type: none;display:inline; }mais ca ne marches paspouvez vous m'aidez svpmerciSujet déplacé - atch Link to comment Share on other sites More sharing options...
Atch Posted June 19, 2010 Share Posted June 19, 2010 Bonjour,Merci de poster au bon endroit et d'utiliser un titre plus explicite!Dans votre cas, essayez en supprimant le clear: both; de la balise li et ajouter un float left.V++Atch Link to comment Share on other sites More sharing options...
hkahil Posted June 19, 2010 Author Share Posted June 19, 2010 j'ai supprimer clear:both;les produits ne se sont pas aligner:) Link to comment Share on other sites More sharing options...
Atch Posted June 19, 2010 Share Posted June 19, 2010 Et vous avez ajouté le float left?Atch 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