html emails in outlook
- Started
- Last post
- 6 Responses
- forcetwelve
my client says that this email:
http://southsouthwest.com.au/cli…
goes crazy in outlook and the width stretched to 100%. i have no idea why.
does anyone know where i could be going wrong? i have the styles in the file - not linking to an external source.
thx in advance.
- acescence0
you need to put all of the css inline in style attributes...
- forcetwelve0
when i do that it takes away the centering and it goes 100% width?
- acescence0
put it in a table and give the table cell a width. center it in another table. outlook uses word's hobbled 90's era html rendering engine.
- ukit0
Just make sure it has a width set on it and that the containing element has "text-align:center" set on it. Remember it all has to be inline styles on the element itself.
It may make sense to use tables anyway but it shouldn't be necessary to solve this particular problem.
- forcetwelve0
yeah - it all seems to have a width set on it. and text align is on everything too. still not working.
- forcetwelve0
ah got it i think. needed to set a width in 2 places. thx guys!