Bonjour,
Comment faire pour que les 4 icones soient centré sur la page ?
Voici le code:
Merci
#barre {
background-image: url("background_barre.png");
background-repeat: repeat-x;
height: 46px;
width: 100%;
}
#barre1,#barre2,#barre3,#barre4
{
border:1px solid red;
display:inline;
/*padding: 5px;*/
float: left;
width:25%;
text-align:center;
/*position: fixed;*/
}
#barre {
position: relative;
float: left;
clear:left;
width: 100%;
height: 50px;
z-index: 1;
}
#barre1 {
background-image: url(logo/load%20on.png);
background-repeat: no-repeat;
}
#barre2 {
background-image: url(logo/load%20on.png);
background-repeat: no-repeat;
}
#barre3 {
background-image: url(logo/load%20on.png);
background-repeat: no-repeat;
}
#barre4 {
background-image: url(logo/load%20on.png);
background-repeat: no-repeat;
}
--------------------------------------------
<body>
<div id="barre">
<div id="barre1"></div>
<div id="barre2"></div>
<div id="barre3"></div>
<div id="barre4"></div>
</div>
Comment faire pour que les 4 icones soient centré sur la page ?
Voici le code:
Merci
#barre {
background-image: url("background_barre.png");
background-repeat: repeat-x;
height: 46px;
width: 100%;
}
#barre1,#barre2,#barre3,#barre4
{
border:1px solid red;
display:inline;
/*padding: 5px;*/
float: left;
width:25%;
text-align:center;
/*position: fixed;*/
}
#barre {
position: relative;
float: left;
clear:left;
width: 100%;
height: 50px;
z-index: 1;
}
#barre1 {
background-image: url(logo/load%20on.png);
background-repeat: no-repeat;
}
#barre2 {
background-image: url(logo/load%20on.png);
background-repeat: no-repeat;
}
#barre3 {
background-image: url(logo/load%20on.png);
background-repeat: no-repeat;
}
#barre4 {
background-image: url(logo/load%20on.png);
background-repeat: no-repeat;
}
--------------------------------------------
<body>
<div id="barre">
<div id="barre1"></div>
<div id="barre2"></div>
<div id="barre3"></div>
<div id="barre4"></div>
</div>