|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
What is the best CSS method to use for HTML emails?
I have a client who wants HTML emails (I know... I know...). I'm just curious what type of CSS works the best with the most email readers out there. I really don't want to go back to tables, <font>, <center>, etc...
Obvious choices are an external stylesheet linked to in the <head>. Downfall for that is if they aren't connected it may not load? Or I can do an internal sheet in the <head> or just use inline styles in each <div>, <p>, etc. What are recommendations? I imagine the client is using Outlook or OE, but I haven't asked. ---John Holmes... |
|
#2
|
||||
|
||||
|
I would say use inline styles (i.e., the style attribute in most tags), as it would probably be more cross-mail-program compatible. Just my two cents...
__________________
~~ Peter ~~ ( My Blog: It's exactly like normal nerdiness, but completely different. ) :: ( Supporter of the EFF & FSF ) :: ( I'm a GNU/Linux addict and Free Software Advocate. ) :: ( How to Ask Questions the Smart Way ) :: ( The Fedora Project, sponsored by Red Hat ) :: ( GNOME: The Free Software Desktop Project ) :: ( GnuPG Public Key ) |
|
#3
|
||||
|
||||
|
I hate HTML emails
but from what I've had to do I'd use an internal sheet unless there isn't that much formating in which case inline would be easier. I think it's more a personal preference but mail programs might like one better then the other.
__________________
Miscellaneous Software Viper_SB Developershed E-Support Anyone else play chess? Challenge me |
|
#4
|
||||
|
||||
|
Quote:
I found out the client more than likely uses outlook. I'll have to fire that up and create a couple emails to myself. If anyone uses it regularly, let me know if you know it already works. ---John Holmes... |
|
#5
|
||||
|
||||
|
I use it (outlook) because of work but I don't get any html emails there, so couldn't really say. If you want me to test it send me a pm and I can give you an address to send it to.
Last edited by Viper_SB : April 22nd, 2004 at 10:21 PM. |
|
#6
|
||||
|
||||
|
I always use the style sheet at the top of the email, works well normally.
|
|
#7
|
||||
|
||||
|
that's what i also use. but it sometimes doesn't work in evolution.
|
|
#8
|
||||
|
||||
|
Not sure what version Viper_SB uses, but at work I'm using Outlook 2000 SR-1, if it's different from his version and you want me to test something PM me and I'll send you my work address.
-b
__________________
PostgreSQL, it's what's for dinner... |
|
#9
|
||||
|
||||
|
I use outlook 2002 SR-2 for now but I believe they are wanting us to upgrade to 2003 soon.
|
|
#10
|
||||
|
||||
|
Quote:
Just to let you know that I use Outlook 2003 and any HTML emails that I receive seem to work nicely. I've just checked the source of some, and I've found both those with style sheets at the top and ones where attributes are set indivdually to each tag. They both work nicely. Like bcyde, I'll test anything out if you want me to ![]() |
|
#11
|
||||
|
||||
|
The form is located at http://www.bigredspark.com/alsip
If anyone wants to try it out and see if the email they recieve is properly formatted, that'd be great. I just stuck to inline styles. The email address you provide in the form is where the resulting email will be sent. Don't worry, I'm not saving it anywhere. The email should look exactly like the filled in form when you get it. Appreciate any feedback you have. I'm just using a simple Content-Type: text/html header (no multi-part, etc). ---John Holmes... |
|
#12
|
||||
|