A voir également:
- En html ?
- Editeur html - Télécharger - HTML
- Espace en html ✓ - Forum Webmastering
- Br html ✓ - Forum Webmastering
- Nbsp html ✓ - Forum Webmastering
- Html download - Télécharger - HTML
5 réponses
slt,
as tu essayer avec des balise div ?
https://pbnaigeon.developpez.com/tutoriel/CSS-HTML/mise-en-page-CSS/
++
Plusieurs problèmes font parfois une solution...
as tu essayer avec des balise div ?
https://pbnaigeon.developpez.com/tutoriel/CSS-HTML/mise-en-page-CSS/
++
Plusieurs problèmes font parfois une solution...
exemple avec div
fichier nommé div.css
@charset "iso-8859-1";
body{
background-color: #335566;
display: inline-block;
width: 100%;
height: auto;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
text-align: center;
}
div#contenu {
width:600px;
height:250px;
background-color:#FFCC00;
text-align:left;
}
div#imageframe {
float:left;
width:100px;
height:200px;
background-color:#FF6699;
}
div#imagecadre {
width:100px;
height:200px;
background-color:#66CC33;
}
div#textebas {
width:600px;
height:50px;
background-color:#cff21f;
}
fichier nommé div.html
<html>
<head>
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="div.css" />
</head>
<body>
<div id="contenu">Ceci est le contenu
<div id="imageframe">
<div id="imagecadre">img tu peut la mettre en background</div>
<div id="textebas">textebas</div>
</div>
</div>
</body>
</html>
j espere t aider ++
fichier nommé div.css
@charset "iso-8859-1";
body{
background-color: #335566;
display: inline-block;
width: 100%;
height: auto;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
text-align: center;
}
div#contenu {
width:600px;
height:250px;
background-color:#FFCC00;
text-align:left;
}
div#imageframe {
float:left;
width:100px;
height:200px;
background-color:#FF6699;
}
div#imagecadre {
width:100px;
height:200px;
background-color:#66CC33;
}
div#textebas {
width:600px;
height:50px;
background-color:#cff21f;
}
fichier nommé div.html
<html>
<head>
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="div.css" />
</head>
<body>
<div id="contenu">Ceci est le contenu
<div id="imageframe">
<div id="imagecadre">img tu peut la mettre en background</div>
<div id="textebas">textebas</div>
</div>
</div>
</body>
</html>
j espere t aider ++
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
l'histoires des div ne marche pas voici mon code
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" media="screen" type="text/css" title="Design" href="div.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<meta charset="utf-8" />
<title>A venir|Lecoeur Corentin</title>
<table>
<tr>
<td>
<a href="http://lecoeurcorentin.craym.eu/"><img src="img/logo.png" alt= "Lecoeur Corentin"></a>
</td>
<td><ul>
<li><a href="http://lecoeurcorentin.craym.eu/">Accueil</a></li>
<li><a href="http://lecoeurcorentin;craym.eu/avenir.html">A venir</a></li>
<li><a href="#">Livres</a></li>
<li><a href="#">Catalogue</a></li>
<li><a href="#">Livre d'or</a></li>
</ul>
</td>
</tr>
</table>
</head>
<body>
<div id="contenu"><h1>Ado, déjà maman Tome 1</h1><br>
Format : Roman (134x204)<br>
Nombre de pages : 42<br>
Date de publication : 7 mai 2012
<div id="imageframe">
<div id="imagecadre"></div>
<div id="textebas">textebas</div>
</div>
</div>
</body>
</html>