centering emails in Hotmail
- Started
- Last post
- 3 Responses
- Not_Just_Another
Any ideas on how to achieve this?
Most of the emails I get through are left aligned - but the Apple ones are centered, so I know its possible.
Here's a snippet of my code:
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" bg-color="#c4c7e2">
<tbody>
<tr>
<td align="center">
<table width="600" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#FFFFFF">
<!-- content goes in here -->
</table>
</td>
</tr>
</tbody>
</table>I'd have thought this would have worked?
- Not_Just_Another0
Basically a table that's set to 100% and a table inside it aligned to the center with a width on 600px.
For some reason when I've tested it, my Hotmail ignores the 100% value.
Strange that the table structure code is the same as Apple's, but still no worky :-(
- Stugoo0
maybe add
style=" width:600px; display:block; margin:auto;"
on the inner table...
could be a css thing?- or strip out your content to make sure that your markup is right.Stugoo
- thank mate, will give that a tryNot_Just_Another
- just tried both, and still no luck. As I say, strange that it uses the same structure as Apple & Lonely Planet and yet it displays differentlyNot_Just_Another
- differently.Not_Just_Another
- Not_Just_Another0
Ive just copied the entire mailer I received from Apple into my code - replacing mine - and it doesn't center... weird. I wonder whether its an issue that I'm testing it through Campaign Monitor?