Bonsoir, j'ai vraiment besoin d'aide je suis sur mon code depuis hier soi rje n'y arrive pas, je ne comprend rien, je veut déplacer des texte rien ne marche s'il vous plait aidez moi vraiment.
Je voudrais mettre mon menu tout en haut. Voici mon code css:
Merci
Je voudrais mettre mon menu tout en haut. Voici mon code css:
Code:
/*Définition des polices*/
@font-face {
font-family: 'ambleregular';
src: url('police/Amble-Regular-webfont.eot');
src: url('police/Amble-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('police/Amble-Regular-webfont.woff2') format('woff2'),
url('police/Amble-Regular-webfont.woff') format('woff'),
url('police/Amble-Regular-webfont.ttf') format('truetype'),
url('police/Amble-Regular-webfont.svg#ambleregular') format('svg');
font-weight: normal;
font-style: normal;
}
/*Eléments principaux de la page*/
body
{
background: url('image/fond2.png') no-repeat;
background-attachment: fixed;
}
#bloc_page
{
width: 900px;
margin: auto;
background: ;
}
/*Header*/
header
{
display: flex;
justify-content: space-between;
align-items: flex-end;
border: 3px solid black;
}
#titre_principal
{
display: flex;
font-family: 'ambleregular', impact;
font-size: 1.5em;
flex-direction: column;
color: white;
}
#logo
{
display: flex;
flex-direction: row;
align-items: baseline;
}
#logo img
{
width: 189px;
height: 190px;
}
/*Navigation*/
nav ul
{
list-style-type: none;
display: flex;
}
nav li
{
margin-right: 15px;
}
nav a
{
font-size: 1.3em;
color: black;
padding-bottom: 3px;
text-decoration: none;
color: gray;
}
nav a:hover
{
color:#760001;
border-bottom: 3px solid #760001;
}
/*Section*/
#titre_secondaire
{
text-align: center;
font-family: 'ambleregular', impact;
}
Merci