créer un site


Centrer des boutons .

Poster un nouveau sujet sur css   Répondre au sujet à css:Centrer des boutons .    Accueil Forum -> css
Voir le sujet précédent :: Voir le sujet suivant  
Auteur Message
nykefr
html mioche
html mioche
MessageCentrer des boutons . , Posté le: 02-08-2005 13:40

Salut j'ai un petit prob avec mon top ... je modifie le design et jusqu'a maintenant tout fonctionnais bien mais la gros prob !
J'ai modifié le 'header' (taille et extansion) mais le probleme c'est que les boutons sont en pleins milieu du header Shocked et moi je les veux en bas du header a ras .
Voilà le site ----> http://www.j-musique.com/top/index.php

Je voudrai déplacer l'ensemble des boutons nommé img_nav1.gif et img_nav2.gif juste en dessous du header.. (bien qu'une partie peut etre caché).

J'ai mis la totalité du code bien qu'il n'etait pas nécessaire Sad

Code:
body {
padding:0;
margin:0;
background-color:#FEF0AD;
color:#757575;
font-family:Arial,Tahoma,sans-serif;
font-size:11px;
line-height:15px;
text-align:center;
}
#frame {
width:752px;
height:200px;
margin-left:auto;
margin-right:auto;
margin-top:25px;
margin-bottom:25px;
text-align:left;
}
#top {
width:742px;
height:150px;
padding:56px 10px 0px 0px;
background-image:url(top.jpg);
background-repeat:no-repeat;
font-size:10px;
line-height:10px;
overflow:hidden;
}
#title {
width:722px;
height:20px;
background-image:url(img_title.gif);
background-repeat:no-repeat;
padding:5px 10px 5px 20px;
color:#FFFFFF;
font-family:Times New Roman,serif;
font-size:20px;
font-variant:small-caps;
font-weight:bold;
letter-spacing:2px;
line-height:20px;
overflow:hidden;
}
#center {
width:712px;
background-image:url(img_bg.gif);
padding:10px 20px 0px 20px;
}
#bottom {
width:732px;
height:35px;
background-image:url(img_bottom.gif);
background-repeat:no-repeat;
padding:20px 10px 0px 10px;
color:#97AAB7;
text-align:right;
}
#bottom a:link, #bottom a:visited {
color:#D0D5DA;
}
#bottom a:hover, #bottom a:active {
color:#FFFFFF;
}
#nav {
margin:0;
padding:0;
list-style-type:none;
}
#nav li {
display:block;
float:right;
width:92px;
height:15px;
margin-left:4px;
text-align:center;
}
#nav li a {
display:block;
width:92px;
height:12px;
padding-top:3px;
text-decoration:none;
color:#78828C;
background-image:url(img_nav1.gif);
background-repeat:no-repeat;
}
#nav li a:hover, #nav li a:active {
color:#D0D5DA;
background-image:url(img_nav2.gif);
background-repeat:no-repeat;
}
.ranktable {
width:700px;
margin-left:auto;
margin-right:auto;
margin-top:0;
margin-bottom:10px;
padding:0;
border-collapse:collapse;
text-align:center;
}
.ranktable td {
border:1px solid #D0D5DA;
padding:0px 4px 0px 4px;
}
.ranktitle {
background-color:#DADADA;
border:1px solid #D0D5DA;
padding:0px 4px 0px 4px;
text-align:left;
font-size:13px;
line-height:17px;
font-weight:bold;
letter-spacing:1px;
}
.rankmain {
vertical-align:top;
}
.rankright {
width:100px;
border:1px solid #D0D5DA;
padding:0px 4px 0px 4px;
text-align:left;
}
a:link, a:visited {
color:#97AAB7;
text-decoration:none;
}
a:hover, a:active {
color:#78828C;
text-decoration:none;
}
p {
margin:0px 0px 15px 0px;
}
h1 {
margin:0px 0px 15px 0px;
padding:0;
font-size:13px;
font-weight:bold;
letter-spacing:1px;
line-height:15px;
}
form {
margin:0;
padding:0;
}
input, textarea, select {
background-color:#FFFFFF;
color:#757575;
font-family:Arial,Tahoma,sans-serif;
font-size:11px;
}
img {
border:0;
}
.adbreak {
text-align:center;
margin-right:auto;
margin-left:auto;
margin-top:0;
margin-bottom:10px;
}
.banner {
padding-top:2px;
}
.graph {
background-color:#D0D5DA;
padding:0;
width:75px;
}
#gateway {
margin-top:30px;
margin-left:auto;   
margin-right:auto;
}


Si vous pouvez me dire ou modif car le css et moi ca fait des posts sur salemioche..
nykefr
html mioche
html mioche
MessageCentrer des boutons . , Posté le: 03-08-2005 22:06

Si quelqu'un peut jeter un oeil ca serai bien aimable Confused
salemioche
salemioche
salemioche
MessageCentrer des boutons . , Posté le: 04-08-2005 9:21

le probleme vient plutot du html je pense. pourquoi est que tu mets ton ul de menu dans ton div top et pas en dehors ?
nykefr
html mioche
html mioche
MessageCentrer des boutons . , Posté le: 04-08-2005 10:38

J'ai eu le code tout fait et je ne mis connais pas assé d'ailleurs j'ai un peu de mal a comprendre tout..
Montrer les messages depuis:   
Poster un nouveau sujet sur css   Répondre au sujet à css:Centrer des boutons .    Accueil Forum -> css Toutes les heures sont au format GMT + 1 Heure
Page 1 sur 1

 
Sauter vers:  
S'enregistrerS'enregistrer
ProfilProfil
Se connecter pour vérifier ses messages privésSe connecter pour vérifier ses messages privés
RechercherRechercher
Liste des MembresMembres
FAQFAQ
ConnexionConnexion 


© Mentions Légales