Centrer une bannière [Réglé]
F4ESO Membre non connecté
Booster Fronde
-
Booster Fronde
- Voir le profil du membre F4ESO
- Inscrit le : 30/08/2008

Je suis sur le thème main2, et je voudrais savoir si je peu centrer ce type de bannière
www.f8kht.fr
Merci de vos réponses.
Salutations
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
Code CSS :
div#header { text-align:left; }
par
Code CSS :
div#header { text-align:center; }
F4ESO Membre non connecté
Booster Fronde
-
Booster Fronde
- Voir le profil du membre F4ESO
- Inscrit le : 30/08/2008
Mais le module de connection fait des trucs bizarres...
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
F4ESO Membre non connecté
Booster Fronde
-
Booster Fronde
- Voir le profil du membre F4ESO
- Inscrit le : 30/08/2008
ca serai peu etre mieu et plus esthétique.
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
Supprime sont contenu et remplace par :
Code TPL :
# START disconnected #
<script type="text/javascript">
<!--
function check_conect(){
if(document.getElementById('login').value == "") {
alert("{L_REQUIRE_PSEUDO}");
return false;
}
if(document.getElementById('password').value == "") {
alert("{L_REQUIRE_PASSWORD}");
return false;
}
return true;
}
-->
</script>
<div class="module_mini_container">
<div class="module_mini_top">
<h5 class="sub_title">{L_CONNECT}</h5>
</div>
<div class="module_mini_table">
<form action="{U_CONNECT}" method="post" onsubmit="return check_conect();">
<p>
<label>{L_PSEUDO}
<input size="15" type="text" class="text" id="login" name="login" maxlength="25" /></label>
<label>{L_PASSWORD}
<input size="15" type="password" id="password" name="password" class="text" maxlength="30" /></label>
<label>{L_AUTOCONNECT} <input checked="checked" type="checkbox" name="auto" /></label>
</p>
<p>
<input type="submit" name="connect" value="{L_CONNECT}" class="submit" />
</p>
<p>
{U_REGISTER}
</p>
</form>
</div>
<div class="module_mini_bottom">
</div>
</div>
# END disconnected #
# START connected #
<div class="module_mini_container">
<div class="module_mini_top">
<h5 class="sub_title">{L_PROFIL}</h5>
</div>
<div class="module_mini_table" style="text-align:left;">
<ul style="margin:0;padding:0;padding-left:4px;list-style-type:none;line-height:18px">
<li><img src="../templates/{THEME}/images/admin/members_mini.png" alt="" class="valign_middle"> <a href="../member/member{U_MEMBER_ID}" class="small_link">{L_PRIVATE_PROFIL}</a></li>
<li>{U_MEMBER_MP}</li>
{U_ADMIN}
{U_MODO}
<li><img src="../templates/{THEME}/images/admin/home_mini.png" alt="" class="valign_middle"> <a href="../member/member.php?disconnect=true" class="small_link">{L_DISCONNECT}</a></li>
</ul>
</div>
<div class="module_mini_bottom">
</div>
</div>
# END connected # F4ESO Membre non connecté
Booster Fronde
-
Booster Fronde
- Voir le profil du membre F4ESO
- Inscrit le : 30/08/2008
Merci beaucoup pour l'aide
A plus
renaudpro Membre non connecté
Booster Missile
-
Booster Missile
- Voir le profil du membre renaudpro
- Inscrit le : 27/09/2008
- Groupes :
/* --------------------------------------
design.css
Contient les conteneur, fortement dépendant du design.
--------------------------------------*/
/* Corps du site
--------------------------------------*/
*{
margin:0;
padding:0;
font-size:100%;
}
body{
background-color:#fff;
font-size:12px;
font-family:Verdana,Arial,Helvetica,sans-serif;
color:#2E3B5F;
margin:0;
padding:0;
}
/* Rollover des boutons de la speed barre
--------------------------------------*/
div#menuh{
background:url("images/sub_header.png") repeat-x;
width:100%;
}
a.button
{
display:block;
float:left;
color:#edfff0;
height:43px;
text-decoration:none;
text-align:center;
padding:0px 20px;
padding-top:17px;
border-right:2px solid #fff;
}
a:hover.button
{
background:url("images/bg_menuh_hover.png") repeat-x;
color:#edfff0;
text-decoration:none;
}
/* Conteneurs
--------------------------------------*/
div#header
{
background:#FEFFED url("images/header.png") repeat-x;
}
div#banniere
{
margin:auto;
width:772px;
}
div#logo
{
top:20px;
left:20px;
height:59px;
width:200px;
position:absolute;
background:url("images/logo.png") no-repeat;
}
div#sub_header{
height:61px;
background:url("images/menuh.png") center no-repeat;
margin-top:0px;
}
div#sub_header_left{
height:23px;
background:url("images/logo_titre.png") center no-repeat;
width:100%;
text-align:center;
margin-top:-23px;
}
div#compteur{
position:absolute;
top:20px;
right:0px;
color:#4C6749;
}
div#left_menu{
float:left;
width:200px;
margin:0;
margin-right:0px !important;
margin-right:-3px;
margin-left:5px;
padding-top:10px;
}
div#main{
min-width:450px;
overflow:hidden !important;
height:auto !important;
overflow:visible;
height:1%;
padding-bottom:30px;
}
div#right_menu{
float:right;
width:200px;
margin-left:0px !important;
margin-left:-3px;
margin-right:5px;
padding-top:10px;
}
div#links{
width:96%;
margin:auto;
margin-top:0px;
margin-bottom:0px;
padding-top:2px;
padding-bottom:4px;
font-weight:bold;
}
div#footer{
height:61px;
background:#83b93a url("images/bg_footer.png") repeat-x;
text-align:center;
clear:both;
}
div#bg_footer{
height:41px;
background:url("images/footer.png") center no-repeat;
padding-top:20px;
}
div#footer span{
font-size:11px;
color: #fff;
}
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie
