5542 sujets

Sémantique web et HTML

Bonjour,

Voilà je suis actuellement confronté à un problème...
Je suis en train de monter une newsletter par mes soins et un problème subside... mon bloc où se présente le texte dépasse sur la gauche alors que la taille est fixée à 600px...
Quelqu'un aurait une idée de pourquoi ?


Merci pour l'aide que vous pourrez m'apporter car je sèche vraiment...

[URL=http://www.hostingpics.net/viewer.php?id=5813012015081010h5244.jpg][IMG]http://img11.hostingpics.net/pics/5813012015081010h5244.jpg[/IMG][/URL]

Le code :

a écrit :
<table width="600px" border="0" cellspacing="0" cellpadding="0"; align="center" ;>
<tr>
<td width="300px" align="left" bgcolor="#C57678" >
<p style="margin:.2em .5em;padding:0.1em .5em;font-weight: bold; font-family:Roboto Light, Arial; "><br/>A ce prix là, vous allez voir<br /> la vie en couleurs !
</p>
<p style="margin:.1em .5em;padding:0.2em .5em; font-size:12px; font-family: Roboto Light, Arial; ">Il est temps de vous mettre à la couleur !
Plongez <br />dans un univers pop, fun et follement tendance.<br />
Retrouvez nous dans les magasins <br /><br />
</p>
<p><span style="margin-left:auto;padding:0.10em .50em; "><a href="url" target="_blank"><img src="images/images.jpg" border="0" style=" width:104px; max-width:100%; height:auto;" /></a></span></p>
</td>
<td width="300px" align="left"><a href="url" target="_blank"><img src="images/images.png" alt="" border="0" style="display:block; width:301px; max-width:301px; height:auto" /></a>
</td>

</tr>


////////////////// LE CODE D'EN DESSOUS ////////////////////////////////
<tr>
<td width="50%" align="right" width="300px" height="300px"><a href="url" target="_blank"><img src="images/image.jpg" alt="" border="0" style="display:block; width:100%; max-width:350px; height:auto";/></a><br/>
</td>
<td width="50%" align="left" width="300px" height="300px"><a href="url" target="_blank"><img src="images/image.png" alt="" border="0" style="display:block; width:100%; max-width:350px; height:auto" /></a><br/>
</td>

</tr>
</table>

Modifié par cusoon (11 Aug 2015 - 10:33)
Modérateur
Salut,

J'ai lu ton code en Z. Je pense que ton souci vient de là :

<td width="50%" align="left" width="300px" height="300px">
Tu crois que la ligne qui est en dessoous (qui s'affiche bien) va résoudre le problème juste au dessus ?
Merci d'ailleurs
Modérateur
oups, j'avais pas vu (comme je t'avais dit, j'ai lu en Z) :


<td width="50%" align="left" width="300px" height="300px"><a href="url" target="_blank"><img src="images/image.png" alt="" border="0" style="display:block; width:100%; max-width:350px; height:auto" /></a><br/>
</td>

Modifié par niuxe (12 Aug 2015 - 00:19)