anne_r Posted July 8, 2010 Share Posted July 8, 2010 Bonjour,que modifier dans block top user information, block top currencies et lock top languages dans global.css pourles avoir les un au dessus des autres et bien justifiés. Le mieux est de voir les visuels joints," ce que j’ai " et "ce que je voudrais".MERCI Link to comment Share on other sites More sharing options...
Bouh Posted July 8, 2010 Share Posted July 8, 2010 peux tu montrer ton code css pour ces positions stp Link to comment Share on other sites More sharing options...
anne_r Posted July 9, 2010 Author Share Posted July 9, 2010 Bonjour,Voici la partie block top user information, block top currencies, lock top languages du global : /* Header */ #header ul { list-style: none; } #header form { border: none; margin-bottom: 0!important; display: inline; } #header label { margin: 0; float: none; } /* block top currencies */ #header #currencies_block_top { margin: 0.4em 0.5em 0 0; float: left; } #header #currencies_block_top ul { float: left; height: 1.5em; } #header #currencies_block_top ul li { float:left; margin-right:0.2em; } #header #currencies_block_top ul li a { display:block; font-size:0.8em; background-color:#ffffff; text-decoration:none; min-width: 1em; padding: 0px 2px 0px 3px; line-height: 1.5em; text-align: center; vertical-align: middle; } #header #currencies_block_top ul li a:hover { background-color:white; color: black; } #header #currencies_block_top ul li.selected a { border: none; background-color: transparent; font-size: 1.1em; line-height: 1.2em; font-weight: bold; } #header #currencies_block_top p { clear: left; } /* block top languages */ #header #languages_block_top { margin: 0.4em 0.1em 0 0; float: left; } #header #languages_block_top p { clear: left; } #languages_block_top ul#first-languages { float: left; height: 1.5em; width: 8em; } #languages_block_top ul#first-languages li { float:left; margin-right: 0.3em; } #languages_block_top ul#first-languages li.selected_language { float:left; margin-right: 0.3em; } /* top links */ ul#header_links { margin: 0.4em 0.3em 0 0; list-style-type: none; float: left; } #header_links li { float:left; width: 66px; } #header_links a { display: block; height: 15px; color: #595a5e; padding-top: 19px; text-align: center; text-decoration: none; background-repeat: no-repeat; background-position: top center; background-color: transparent; } #header_links #header_link_sitemap a { background-image: url('../img/icon/sitemap.gif'); } #header_links #header_link_contact a { background-image: url('../img/icon/contact.gif'); } #header_links #header_link_bookmark a { background-image: url('../img/icon/star.gif'); } /* block top search */ #header #search_block_top { background: #ffffff; height: 28px; width: 336px; float: left; } #header #search_block_top p { padding: 0.4em 0 0.4em 1em; } #header #search_block_top label, #header #search_block_top input{ float:left; } #header #search_block_top label { float: left; width: 19px; height: 18px; display: block; } #header #search_block_top input#search_query { width: 12em; } /* block left column "Quick search" */ #search_block_left input { margin: 2px 0px 0px 0px; } #search_block_left #search_query { width: 11em; } #search_button { display: inline; } /* block top user information */ #header #header_user { float:left; margin:0.6em 0.6em 0 0; } #header_user p { color: #595a5e; } #header_user span { font-weight: bold; } #header_user ul { margin-top: 0.3em; } #header_user li { float:left; margin-right:0.1em; } #header_user #shopping_cart, #header_user #your_account { font-size: 1.1em; } #header_user #shopping_cart a:hover, #header_user #your_account a:hover { color:#ec008c;} #header_user #shopping_cart a, #header_user #your_account a { background-repeat: no-repeat; background-position: top left; height: 20px; text-decoration: none; padding-right:0.5em; margin-left: 1em; } Link to comment Share on other sites More sharing options...
lescrocs Posted September 6, 2010 Share Posted September 6, 2010 bonjour, si ca peux aider, je pense que le logo est trop large et prends la place du header_user.essais de voir la largeur de la partie ci dessous #header (ligne 197) {float: right; display: inline; padding-top: 62px; width: 70%; <----a ajuster text-align: right; pour la ligne c'est a peu près vu que j'ai modifier des trucs sur mon global.cssbonne chance Link to comment Share on other sites More sharing options...
anne_r Posted September 14, 2010 Author Share Posted September 14, 2010 Merci pour votre réponse. C'est ce que j'ai fait avec: #header { float: left; width: 80%; text-align: right; padding-top: 2px; } Anne 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