Hintergrund gecenterte Tabelle rechts und links (gelöst)

am 07.10.2014 - 08:11 Uhr in
Hallo
Ich bin Neuling im HTML Coden und habe nun einen Newslettter mittels HTML gemacht. Funktioniert auch super alles ist so wie ich es mir gedacht habe.
Eine Tabelle mit 5 Zeilen und den Inhalt habe ich mittelbündig dargestellt und er kommt auch so an wie er ist. Senden tue ich das ganze per Mimemail.
Jetzt möchte ich aber rechts und links von der Tabelle den Hintergrund auf #EEEEEE schalten funkt aber nicht wenn ich es in das DIV am Anfang einfüge macht er garnichts. Obwohl ja das DIV herum dann so seien Müsste oder?
Kann mir jemand da helfen ?
<div style="background-color: #EEEEEE" align="center">
<table class="newslor" style="table-layout: fixed;" cellpadding="0" cellspacing="0">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td colspan="5" style="padding:0px" width="600"><span style="font-family:arial,helvetica,sans-serif;"><img alt="Header Oktober Newsleter" src="/sites/default/files/images/newsletter/header_120_oktober.jpg" style="width: 600px; height: 120px;"></span></td>
</tr>
</tbody>
</table>
<table class="newslr" style="table-layout: fixed;" cellpadding="0" cellspacing="0" width="600px">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td width="25"> </td>
<td colspan="3" width="550">
<p><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;"><strong>Lieber [simplenews-subscriber:user:name],</strong></span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">der Herbst hat uns erreicht, und derzeit wird ein großer Bereich unserer Webpräsenz <span style="color: rgb(255, 140, 0);"><strong>verbessert </strong></span>und mit <span style="color: rgb(255, 140, 0);"><strong>neuen Funktionen</strong></span> ausgestattet. Unsere verschiedenen <span style="color:#ff8c00;"><strong>Challenges </strong></span>und <strong><span style="color: rgb(255, 140, 0);">Herausforderungen </span></strong>werden in nächster Zeit in einer eigenen Kategorie zu finden sein, und stetig erweitert.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Wir stehen immer in Verhandlungen mit unseren Partnern und haben auch schon große Fortschritte für euch erzielt. Diesen Monat bieten wir euch fünf <strong><span style="color:#ff8c00;">Starterpaket je 25$</span></strong> bei Partypoker an und es findet die <strong><span style="color:#ff8c00;">erste Bluff Challenge</span></strong> statt. </span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size: 12px;">Wir bleiben weiterhin für Dich am Ball und freuen uns wie immer auch auf Deine Beiträge.</span></span></p>
</td>
<td width="25"> </td>
</tr>
</tbody>
</table>
<table class="newslr" style="table-layout: fixed;" cellpadding="0" cellspacing="0" width="600px">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td width="25"> </td>
<td width="270"><span style="font-family:arial,helvetica,sans-serif;"><img alt="" src="/sites/default/files/images/newsletter/alpha5.jpg" style="width: 270px; height: 150px;"></span></td>
<td width="10"> </td>
<td width="270"><span style="font-family:arial,helvetica,sans-serif;"><img alt="" src="/sites/default/files/images/newsletter/bluff2.png" style="width: 270px; height: 150px;"></span></td>
<td width="25"> </td>
</tr>
</tbody>
</table>
<table class="newslr" style="table-layout: fixed;" cellpadding="0" cellspacing="0" width="600px">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td width="25">
<p> </p>
</td>
<td valign="top" width="270">
<h3><span style="font-size:12px;"><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;">5 mal 25$ Starterpakete bei unserem Premium Partner Partypoker!</span></span></span></h3>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Frei nach dem Motto "<em>Wer zuerst kommt malt zuerst</em>" staken wir diesen Monat <strong>5 Spieleraccounts</strong> mit einem <strong><span style="color: rgb(255, 140, 0);">Gratis Guthaben</span></strong> zu je 25$*</span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><strong><span style="font-size:14px;">Hast du noch keinen Account bei Partypoker?</span></strong></span></span></p>
<h3><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Einfach <a href="http://de.partypoker.com/?wm=3595204&zoneId=1565163">anmelden</a> und den Elite Deal auf unserer Website aktivieren.</span></span></h3>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><em>* <a href="http://elite-poker-coaching.org/de/aktionen/starter-aktion-bei-parypoker">Nähere Informationen</a> findest Du in unserer Aktionen Rubrik.</em></span></span></p>
</td>
<td width="25">
<p> </p>
</td>
<td valign="top" width="270">
<h3><span style="font-size:12px;"><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;">Diesen Monat findet die erste Bluff Challenge statt!</span></span></span></h3>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Der beste veröffentlichte Bluff wird mit einem<strong> 25€ Paysafecard</strong> Gutschein prämiert.</span></span></p>
<p><strong><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;">Im Oktober gilt - Wer blufft gewinnt.</span></span></strong></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Mache <strong>diesen Monat</strong> einen <strong><span style="color: rgb(255, 140, 0);">Screenshot </span></strong>und veröffentliche diesen um an der Challenge teilzunehmen.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Wie immer gewinnt der von den Mitgliedern best bewertetste Beitrag.</span></span></p>
<h3><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Zeig uns wie es geht! Wir sind gespannt!</span></span></h3>
</td>
<td width="25">
<p> </p>
</td>
</tr>
</tbody>
</table>
<table class="newslr" style="table-layout: fixed;" cellpadding="0" cellspacing="0" width="600px">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td width="25"> </td>
<td colspan="3" width="550">
<hr color.="FFFFFF" align="center" noshade="noshade" size="1" width="550">
<p style="text-align: center;"><span style="font-family:arial,helvetica,sans-serif;"><img alt="" src="/sites/default/files/images/newsletter/hallofflame2.png" style="width: 550px; height: 60px;"></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><strong><span style="color: rgb(255, 140, 0);">Beiti79 </span></strong>landet mit seinem <a href="http://elite-poker-coaching.org/de/luckypunch/13092014-2053/2te-royal-einer-session">Royal Flush</a> im OMH den <strong>Lucky Punch</strong> des Monats. Mit 2 Royal in einer Session kann er sich diesen Monat den Titel sichern. </span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><strong><span style="color: rgb(255, 140, 0);">Neverfold910 </span></strong><span style="color:#000000;">verliert am River gegen einen 1 Outer. Sein verlorenes <span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><span style="color:#000000;"><a href="http://elite-poker-coaching.org/de/badbeat/01092014-2100/1-outer-gegen-mich">Aseen Full</a> </span></span></span>bringt ihm damit den Titel <strong>Bad Beat Champion</strong> des Monats September</span></span></span>.</p>
<h4 style="text-align: center;"><a href="http://elite-poker-coaching.org" target="_blank"><img alt="" src="/sites/default/files/images/newsletter/121breit.jpg" style="width: 55px; height: 71px;"></a></h4>
</td>
<td width="25"> </td>
</tr>
</tbody>
</table>
<table class="newslru" style="table-layout: fixed;" cellpadding="0" cellspacing="0" width="600px">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td width="25"> </td>
<td colspan="3" style="text-align: center;" width="550">
<h4 style="text-align: center;"><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;">liebe Grüße Dein Elite Poker Team</span></span></h4>
</td>
<td width="25"> </td>
</tr>
</tbody>
</table>
<div> </div>
</div>
<p> </p>
Danke schon mal für eure Hilfe
lG
- Anmelden oder Registrieren um Kommentare zu schreiben
Da dort eine Table darüber liegt
am 07.10.2014 - 08:56 Uhr
müsstest du dieser auch die entsprechende Hintergrundfarbe geben.
Am besten nutzt du Firebug, um die Wirkungsweise genauer sehen zu können.
Natürlich kann es dir dann immer noch passieren, dass sich der IE anders verhält als Firefox und wieder anders als Chrome, Safari etc.
Bei der Interpretation von CSS gibt es teilweise erhebliche Unterschiede.
Grüße
Ronald
wird in HTML Mails von vielen
am 07.10.2014 - 16:44 Uhr
Hat geklappt !
am 08.10.2014 - 07:31 Uhr
So hab es jetzt verstanden und den Hintergrund der TD Elemente auf FFFFFF gesetzt jetzt schaut es so aus wie ich es haben wollte!
Zuerst hatte ich den TD Elemente die bgcolor FFFFFF gegeben dabei blieb aber der Zwischenraum zwischen den Zeilen grau ... dann habe ich noch zusätzlich dem Table auch die bgcolor gegeben und das Ergebniss stimmt jetzt :-)
Danke für den Schupfer in die richtige Richtung !!!!
lG
Neuer Code:
<div style="background-color: #eeeeee" align="center">
<table class="newslor" bgcolor="#FFFFFF" style="table-layout: fixed;" cellpadding="0" cellspacing="0">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td bgcolor="#FFFFFF" colspan="5" style="padding:0px" width="600"><span style="font-family:arial,helvetica,sans-serif;"><img alt="Header Oktober Newsleter" src="/sites/default/files/images/newsletter/header_120_oktober.jpg" style="width: 600px; height: 120px;"></span></td>
</tr>
</tbody>
</table>
<table bgcolor="#FFFFFF" class="newslr" style="table-layout: fixed;" width="600px" cellpadding="0" cellspacing="0">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td bgcolor="#FFFFFF" width="25"> </td>
<td bgcolor="#FFFFFF" colspan="3" width="550">
<p><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;"><strong>Lieber [simplenews-subscriber:user:name],</strong></span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">der Herbst hat uns erreicht, und derzeit wird ein großer Bereich unserer Webpräsenz <span style="color: rgb(255, 140, 0);"><strong>verbessert </strong></span>und mit <span style="color: rgb(255, 140, 0);"><strong>neuen Funktionen</strong></span> ausgestattet. Unsere verschiedenen <span style="color:#ff8c00;"><strong>Challenges </strong></span>und <strong><span style="color: rgb(255, 140, 0);">Herausforderungen </span></strong>werden in nächster Zeit in einer eigenen Kategorie zu finden sein, und stetig erweitert.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Wir stehen immer in Verhandlungen mit unseren Partnern und haben auch schon große Fortschritte für euch erzielt. Diesen Monat bieten wir euch fünf <strong><span style="color:#ff8c00;">Starterpaket je 25$</span></strong> bei Partypoker an und es findet die <strong><span style="color:#ff8c00;">erste Bluff Challenge</span></strong> statt. </span></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size: 12px;">Wir bleiben weiterhin für Dich am Ball und freuen uns wie immer auch auf Deine Beiträge.</span></span></p>
</td>
<td bgcolor="#FFFFFF" width="25"> </td>
</tr>
</tbody>
</table>
<table bgcolor="#FFFFFF" class="newslr" style="table-layout: fixed;" width="600px" cellpadding="0" cellspacing="0">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td bgcolor="#FFFFFF" width="25"> </td>
<td bgcolor="#FFFFFF" width="270"><span style="font-family:arial,helvetica,sans-serif;"><img alt="" src="/sites/default/files/images/newsletter/alpha5.jpg" style="width: 270px; height: 150px;"></span></td>
<td bgcolor="#FFFFFF" width="10"> </td>
<td bgcolor="#FFFFFF" width="270"><span style="font-family:arial,helvetica,sans-serif;"><img alt="" src="/sites/default/files/images/newsletter/bluff2.png" style="width: 270px; height: 150px;"></span></td>
<td bgcolor="#FFFFFF" width="25"> </td>
</tr>
</tbody>
</table>
<table bgcolor="#FFFFFF" class="newslr" style="table-layout: fixed;" width="600px" cellpadding="0" cellspacing="0">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td bgcolor="#FFFFFF" width="25">
<p> </p>
</td>
<td bgcolor="#FFFFFF" valign="top" width="270">
<h3><span style="font-size:12px;"><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;">5 mal 25$ Starterpakete bei unserem Premium Partner Partypoker!</span></span></span></h3>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Frei nach dem Motto "<em>Wer zuerst kommt malt zuerst</em>" staken wir diesen Monat <strong>5 Spieleraccounts</strong> mit einem <strong><span style="color: rgb(255, 140, 0);">Gratis Guthaben</span></strong> zu je 25$*</span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><strong><span style="font-size:14px;">Hast du noch keinen Account bei Partypoker?</span></strong></span></span></p>
<h3><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Einfach <a href="http://de.partypoker.com/?wm=3595204&zoneId=1565163">anmelden</a> und den Elite Deal auf unserer Website aktivieren.</span></span></h3>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><em>* <a href="http://elite-poker-coaching.org/de/aktionen/starter-aktion-bei-parypoker">Nähere Informationen</a> findest Du in unserer Aktionen Rubrik.</em></span></span></p>
</td>
<td bgcolor="#FFFFFF" width="25">
<p> </p>
</td>
<td bgcolor="#FFFFFF" valign="top" width="270">
<h3><span style="font-size:12px;"><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;">Diesen Monat findet die erste Bluff Challenge statt!</span></span></span></h3>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Der beste veröffentlichte Bluff wird mit einem<strong> 25€ Paysafecard</strong> Gutschein prämiert.</span></span></p>
<p><strong><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;">Im Oktober gilt - Wer blufft gewinnt.</span></span></strong></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Mache <strong>diesen Monat</strong> einen <strong><span style="color: rgb(255, 140, 0);">Screenshot </span></strong>und veröffentliche diesen um an der Challenge teilzunehmen.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Wie immer gewinnt der von den Mitgliedern best bewertetste Beitrag.</span></span></p>
<h3><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;">Zeig uns wie es geht! Wir sind gespannt!</span></span></h3>
</td>
<td bgcolor="#FFFFFF" width="25">
<p> </p>
</td>
</tr>
</tbody>
</table>
<table bgcolor="#FFFFFF" class="newslr" style="table-layout: fixed;" width="600px" cellpadding="0" cellspacing="0">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td bgcolor="#FFFFFF" width="25"> </td>
<td bgcolor="#FFFFFF" colspan="3" width="550">
<hr color.="FFFFFF" align="center" noshade="noshade" size="1" width="550">
<p style="text-align: center;"><span style="font-family:arial,helvetica,sans-serif;"><img alt="" src="/sites/default/files/images/newsletter/hallofflame2.png" style="width: 550px; height: 60px;"></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><strong><span style="color: rgb(255, 140, 0);">Beiti79 </span></strong>landet mit seinem <a href="http://elite-poker-coaching.org/de/luckypunch/13092014-2053/2te-royal-einer-session">Royal Flush</a> im OMH den <strong>Lucky Punch</strong> des Monats. Mit 2 Royal in einer Session kann er sich diesen Monat den Titel sichern. </span></span></p>
<p><span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><strong><span style="color: rgb(255, 140, 0);">Neverfold910 </span></strong><span style="color:#000000;">verliert am River gegen einen 1 Outer. Sein verlorenes <span style="font-size:12px;"><span style="font-family: arial,helvetica,sans-serif;"><span style="color:#000000;"><a href="http://elite-poker-coaching.org/de/badbeat/01092014-2100/1-outer-gegen-mich">Aseen Full</a> </span></span></span>bringt ihm damit den Titel <strong>Bad Beat Champion</strong> des Monats September</span></span></span>.</p>
<h4 style="text-align: center;"><a href="http://elite-poker-coaching.org" target="_blank"><img alt="" src="/sites/default/files/images/newsletter/121breit.jpg" style="width: 55px; height: 71px;"></a></h4>
</td>
<td bgcolor="#FFFFFF" width="25"> </td>
</tr>
</tbody>
</table>
<table bgcolor="#FFFFFF" class="newslru" style="table-layout: fixed;" width="600px" cellpadding="0" cellspacing="0">
<colgroup>
<col width="25">
<col width="270">
<col width="10">
<col width="270">
<col width="25">
</colgroup>
<tbody>
<tr>
<td bgcolor="#FFFFFF" width="25"> </td>
<td bgcolor="#FFFFFF" colspan="3" style="text-align: center;" width="550">
<h4 style="text-align: center;"><span style="font-size:14px;"><span style="font-family: arial,helvetica,sans-serif;">liebe Grüße Dein Elite Poker Team</span></span></h4>
</td>
<td bgcolor="#FFFFFF" width="25"> </td>
</tr>
</tbody>
</table>
<div> </div>
</div>
<p> </p>
Danke !
Aloemann