Se connecter avec
S'enregistrer | Connectez-vous

Problème HTML CSS

Dernière réponse : dans Programmation

Bonsoir

Voilà j'ai mis mon header et j'ai fais un menu dedans.

Les images sont au bonne places sauf au niveau honrizontalement. Quand je fais margin-top le header descend aussi.

Sinon j'ai déjà vue un <span> </span> mais je ne sais pas m'en servir.

Citation :
<div class="global">

<div class="header">

<div class="menu1"></div>

<div class="menu2"></div>

<div class="menu3"></div>

<div class="menu4"></div>

<div class="menu5"></div>





</div>

</div>


Citation :
.header {width:1000px;height:118px;background-image:url("img/haut.png");}

.menu1 {width:46px;height:69px;background-image:url("img/acc.png");margin-left:307px;}
.menu1:hover {background-image:url("img/acc2.png");cursor:p ointer;}

.menu2 {width:48px;height:74px;background-image:url("img/bt.png");margin-left:95px;}

.menu3 {width:48px;height:66px;background-image:url("img/f2.png");margin-left:90px;}
.menu3:hover {background-image:url("img/f1.png");cursor:p ointer;}

.menu4 {width:70px;height:69px;background-image:url("img/inf.png");margin-left:82px;}
.menu4:hover {background-image:url("img/inf2.png");cursor:p ointer;}

.menu5 {width:49px;height:64px;background-image:url("img/contact.png");margin-left:75px;}
.menu5:hover {background-image:url("img/contact1.png");cursor:p ointer;}


.menu1 ,.menu2 ,.menu3 ,.menu4 ,.menu5 {float:left;}


Cordialement, Merci

Autres pages sur : probleme html css

Lassé par la pub ? Créez un compte
Lassé par la pub ? Créez un compte
Tom's guide dans le monde