Menu qui reste en haut de la page
leomelki
Messages postés
3
Date d'inscription
Statut
Membre
Dernière intervention
-
leomelki Messages postés 3 Date d'inscription Statut Membre Dernière intervention -
leomelki Messages postés 3 Date d'inscription Statut Membre Dernière intervention -
Bonjour, je viens ici pour vous demander si quelqu'un connais une manière de fixer un menu en haut de la page ?
mon code:
CSS:
#top_bar {
background-image: linear-gradient(#ffffff, #f3f3f3);
border-bottom: 2px inset white;
height: 46px;
box-shadow: 3px 2px 3px #272727;
}
.top_bar {
width: 900px;
margin: auto;
position: fixed;
padding-top: 15px;
color: #b7b7b7;
font-family: LatoL;
}
Merci :)
Ps: lien du site: http://diamondscorp.warcube.fr/
Et le reste de la page je vais le mettre ensuite (après que je sache comment mettre la barre de menu fixe.
mon code:
CSS:
#top_bar {
background-image: linear-gradient(#ffffff, #f3f3f3);
border-bottom: 2px inset white;
height: 46px;
box-shadow: 3px 2px 3px #272727;
}
.top_bar {
width: 900px;
margin: auto;
position: fixed;
padding-top: 15px;
color: #b7b7b7;
font-family: LatoL;
}
Merci :)
Ps: lien du site: http://diamondscorp.warcube.fr/
Et le reste de la page je vais le mettre ensuite (après que je sache comment mettre la barre de menu fixe.
A voir également:
- Menu qui reste en haut de la page
- Impossible de supprimer une page word - Guide
- Menu déroulant excel - Guide
- Mon pc s'allume mais lécran reste noir sans bip - Guide
- Combien de temps reste une story sur facebook - Guide
- Mettre google en page d'accueil - Guide
2 réponses
Peux-tu l'insérer dans le code et me retourner le css valide svp.
Peux tu le faire stp car je n'arrive pas.
J'ai tésté:
#top_bar {
position:fixed;
background-image: linear-gradient(#ffffff, #f3f3f3);
border-bottom: 2px inset white;
height: 46px;
box-shadow: 3px 2px 3px #272727;
}
aussi
#top_bar {
background-image: linear-gradient(#ffffff, #f3f3f3);
border-bottom: 2px inset white;
height: 46px;
box-shadow: 3px 2px 3px #272727;
width: 900px;
margin: auto;
padding-top: 15px;
color: #b7b7b7;
font-family: LatoL;
}
aussi
.top_bar {
background-image: linear-gradient(#ffffff, #f3f3f3);
border-bottom: 2px inset white;
height: 46px;
box-shadow: 3px 2px 3px #272727;
width: 900px;
margin: auto;
padding-top: 15px;
color: #b7b7b7;
font-family: LatoL;
}
et comme au début..
et sa marche pas
J'ai tésté:
#top_bar {
position:fixed;
background-image: linear-gradient(#ffffff, #f3f3f3);
border-bottom: 2px inset white;
height: 46px;
box-shadow: 3px 2px 3px #272727;
}
aussi
#top_bar {
background-image: linear-gradient(#ffffff, #f3f3f3);
border-bottom: 2px inset white;
height: 46px;
box-shadow: 3px 2px 3px #272727;
width: 900px;
margin: auto;
padding-top: 15px;
color: #b7b7b7;
font-family: LatoL;
}
aussi
.top_bar {
background-image: linear-gradient(#ffffff, #f3f3f3);
border-bottom: 2px inset white;
height: 46px;
box-shadow: 3px 2px 3px #272727;
width: 900px;
margin: auto;
padding-top: 15px;
color: #b7b7b7;
font-family: LatoL;
}
et comme au début..
et sa marche pas