En html ?

Fermé
aquer - 25 août 2012 à 00:49
 aquer - 25 août 2012 à 12:03
Bonjour, comment faire cela en html ? J'ai essayé en tableau mais j'ai pas réussi si vous avez une idée ou le code ? Merci !
http://img15.hostingpics.net/pics/410837181.png


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...
0
Utilisateur anonyme
25 août 2012 à 02:07
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 ++
0
bg62 Messages postés 23686 Date d'inscription samedi 22 octobre 2005 Statut Modérateur Dernière intervention 1 mars 2025 2 397
25 août 2012 à 11:38
image sur un site 'blacklisté' par MCAfee ... mieux vaut ailleurs !!
;)
0
Merci je vais essayer !
0

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>
0