CSS: Puesdo links in Emails§

Out of context: Reply #5

  • Started
  • Last post
  • 8 Responses
  • foreign0

    just checked for my notes. can't find it. it seems i might have deleted them...

    some things i remember:

    do the layout in basic tables; put the css block inside the body tags, not in the header; some clients strips the "body" tag, so put a div around the e-mail body (something like "message") and don't use the "body" selector; use that same div to specify any other selectors: so instead of "p" use "#message p"; same thing for classes, eg: "#message p.note".

    that's about it. you can use any css selectors or xhtml tags. the notes i made was mostly about things i had to change to make the email display the same in all clients, but after formatting my e-mail as above it pretty much worked everywhere (hotmail, yahoo, thunderbird, outlook, outlook express, aol) except gmail... which won't allow any css.

View thread