CSSActif, le forum, n'est plus maintenu. Il est néanmoins disponible pour consultation. Pour des outils pratiques, rendez-vous sur: Découvrez CSSActif, une collection d'outils et de tutoriels interactifs pour les développeurs Web — HTML, CSS, JavaScript et bien plus! | | Petit soucis d'espace dans un codage [Résolu] | |
| Hurricane
{ Membre }
Messages : 69
| Bonjour J'ai un petit soucis d'espace dans un codage que je viens de faire, il me crée de gros espaces qui ne sont pas vraiment esthétiques : - Spoiler:
J'aimerais savoir où j'ai fait une gourde afin de pouvoir la corriger x) Voici le code tel que je l'ai mis dans le post de la capture : - Code:
-
<center><table><tr><td><center><div style="width: 140px;"> <div style="width: 166px; background-color: #243B52; padding: 5px; font-family: nova round; font-size: 10px; color: #e3e3e3; text-transform: uppercase; border-radius: 10px 10px 0px 0px; -moz-border-radius: 10px 10px 0px 0px; -webkit-border-radius: 10px 10px 0px 0px;"><age03>{※}</age03> Amanda Seyfried (Actrice) </div><div style="width: 170px; height: 170px; border: 3px double #243B52; text-align: justify; color: #f9f9f9; line-height: 95%; font-family: trebuchet ms; font-size: 10px;">[img]http://image.noelshack.com/fichiers/2014/08/1392739647-001-blonde.png[/img]<br>
</div> </div></center></td><td><div style="width: 35px; height: 150px;"></div> </td> <td><center><div style="width: 140px;"> <div style="width: 166px; background-color: #243B52; padding: 5px; font-family: nova round; font-size: 10px; color: #e3e3e3; text-transform: uppercase; border-radius: 10px 10px 0px 0px; -moz-border-radius: 10px 10px 0px 0px; -webkit-border-radius: 10px 10px 0px 0px;"><age03>{※}</age03> Amber Heard (Actrice)</div><div style="width: 170px; height: 170px; border: 3px double #243B52; text-align: justify; color: #f9f9f9; line-height: 95%; font-family: trebuchet ms; font-size: 10px;">[img]http://image.noelshack.com/fichiers/2014/08/1392739708-0022-blonde.png[/img]<br> <center></div></center> <td> <div style="width: 35px; height: 150px;"></div> </td>
<td><center><div style="width: 140px;"> <div style="width: 166px; background-color: #243B52; padding: 5px; font-family: nova round; font-size: 10px; color: #e3e3e3; text-transform: uppercase; border-radius: 10px 10px 0px 0px; -moz-border-radius: 10px 10px 0px 0px; -webkit-border-radius: 10px 10px 0px 0px;"><age02>{※}</age02> AnnaSophia Robb (Actrice) </div><div style="width: 170px; height: 170px; border: 3px double #243B52; text-align: justify; color: #f9f9f9; line-height: 95%; font-family: trebuchet ms; font-size: 10px;">[img]http://image.noelshack.com/fichiers/2014/08/1392739749-0020-blonde.png[/img] <br> <center></div></center> </td></tr></table> </div></div> </center><center><table><tr><td><center><div style="width: 140px;"> <div style="width: 166px; background-color: #243B52; padding: 5px; font-family: nova round; font-size: 10px; color: #e3e3e3; text-transform: uppercase; border-radius: 10px 10px 0px 0px; -moz-border-radius: 10px 10px 0px 0px; -webkit-border-radius: 10px 10px 0px 0px;"><age03>{※}</age03> Amanda Seyfried (Actrice) </div><div style="width: 170px; height: 170px; border: 3px double #243B52; text-align: justify; color: #f9f9f9; line-height: 95%; font-family: trebuchet ms; font-size: 10px;">[img]http://image.noelshack.com/fichiers/2014/08/1392739647-001-blonde.png[/img]<br>
</div> </div></center></td><td><div style="width: 35px; height: 150px;"></div> </td> <td><center><div style="width: 140px;"> <div style="width: 166px; background-color: #243B52; padding: 5px; font-family: nova round; font-size: 10px; color: #e3e3e3; text-transform: uppercase; border-radius: 10px 10px 0px 0px; -moz-border-radius: 10px 10px 0px 0px; -webkit-border-radius: 10px 10px 0px 0px;"><age03>{※}</age03> Amber Heard (Actrice)</div><div style="width: 170px; height: 170px; border: 3px double #243B52; text-align: justify; color: #f9f9f9; line-height: 95%; font-family: trebuchet ms; font-size: 10px;">[img]http://image.noelshack.com/fichiers/2014/08/1392739708-0022-blonde.png[/img]<br> <center></div></center> <td> <div style="width: 35px; height: 150px;"></div> </td>
<td><center><div style="width: 140px;"> <div style="width: 166px; background-color: #243B52; padding: 5px; font-family: nova round; font-size: 10px; color: #e3e3e3; text-transform: uppercase; border-radius: 10px 10px 0px 0px; -moz-border-radius: 10px 10px 0px 0px; -webkit-border-radius: 10px 10px 0px 0px;"><age02>{※}</age02> AnnaSophia Robb (Actrice) </div><div style="width: 170px; height: 170px; border: 3px double #243B52; text-align: justify; color: #f9f9f9; line-height: 95%; font-family: trebuchet ms; font-size: 10px;">[img]http://image.noelshack.com/fichiers/2014/08/1392739749-0020-blonde.png[/img] <br> <center></div></center> </td></tr></table> </div></div> </center> | | |
| | | Nihil
{ Modérateur }
Messages : 1216
| Bonjour Hurricane Ce problème d'espacement vient tout simplement des retours à la ligne En effet, si le HTML ne prend pas en compte les retours à la ligne, quand tu mets quelque chose dans une réponse sur ForumActif, il le transforme en HTML. Il transforme les retours à la ligne balise br Il faut donc supprimer ces retours à la ligne, et tout rentrera dans l'ordre ^^ | | |
| | | Hurricane
{ Membre }
Messages : 69
| Ah oui en effet c'est tout simple, faut vraiment supprimer les retours à la ligne partout et faire gaffe à ce que les retours ne reviennent pas, c'est beaucoup mieux d'un coup ^^ Merci d'avoir résolu mon problème, on peut archiver | | |
| | | Contenu sponsorisé
| | | | | Petit soucis d'espace dans un codage [Résolu] | |
|
Sujets similaires | |
|
| Permission de ce forum: | Vous ne pouvez pas répondre aux sujets dans ce forum
| |
| |
| |
|
| Partenaires Or
|
|