navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Can CSS be enabled for emails?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Can CSS be enabled for emails?
Page: [1]
 
Zoqaeski

 

Posts: 11
Joined: 9/1/2004
From: Qelvetia
Status: offline

 
Can CSS be enabled for emails? - 10/6/2004 20:10:46   
I got an email from one of my freinds who wanted to have emails styled like web pages. Can this be done using CSS, so it is compatible with Outlook, Hotmail, etc?
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Can CSS be enabled for emails? - 10/6/2004 22:28:44   
As long as the person receiving it accepts email in html format...

All you have to do is declare the stylesheet link by using the full URL

<link rel="stylesheet" type="text/css" href="ht tp://www. yoursite/yourcss.css" >

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to Zoqaeski)
abbeyvet

 

Posts: 5095
From: Kilkenny Ireland
Status: offline

 
RE: Can CSS be enabled for emails? - 10/7/2004 5:31:33   
If it is a newsletter style email going to loads of different people then best avoid css altogether and fall back to font styles in the HTML and all that stuff.

Lots of people pick up their mail in web-based mail systems and many of them will not support css in the mail at all. So I have read anyway, I cannot say with any authority which ones or anything, but have erred on the side of caution and send out newsletters whose code is almost embarrassing. :)

Another point when sending email that is HTML is that a text only version should be send also so that everyone is sure of getting the goods.

_____________________________

Katherine

:: InKK Design :: InKK Domains

(in reply to bobby)
_gail

 

Posts: 2876
From: So FL
Status: offline

 
RE: Can CSS be enabled for emails? - 10/7/2004 9:02:57   
quote:

but have erred on the side of caution and send out newsletters whose code is almost embarrassing.


I ask this out of curiosity and respectfully.

What's embarassing? The fact that you're using HTML tables and not CSS? Or that the code is just kinda sloppy: that you use FrontPage without taking out all the border-collapses and that sort of stuff?

I guess what I'm trying to figure out is what kind of code can embarrass.

Oh, and I'm telling your subscribers to make sure to check your source code. :) :)

gail

_____________________________

Digicamhelp - Easiest place on the web to learn about Digit@l Cameras & Photography

(in reply to abbeyvet)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Can CSS be enabled for emails? - 10/7/2004 9:22:31   
Just FYI...

The majority of Web Based email accounts now will accept CSS, but only if it is embedded within the Email itself, rather than linked to and external source as the majority of them (Yahoo, Excite, Hotmail and the other big names) now utilize CSS for their pages.

Also, the majority of E-mail Clients (Outlook, Eudora, Thunderbird, Outlook Express) will accept emails in HTML format, CSS inlcusive, but again, better to have an embedded stylesheet rather than link to an external one.

For people like me, in their day job, they will use Outlook for email. Outlook here is connected to an exchange server, and denied all access to the internet, all email gets sent via the exchange server, and therefore, Images, external stylesheets are of no use in my emails.

At home.I have Outlook 2003...it works fine with external stylesheets etc, as I am indirectly connected (via a hardware FW) to the net.

Again, it's just FYI...

_____________________________




(in reply to _gail)
abbeyvet

 

Posts: 5095
From: Kilkenny Ireland
Status: offline

 
RE: Can CSS be enabled for emails? - 10/7/2004 9:58:22   
quote:

but have erred on the side of caution and send out newsletters whose code is almost embarrassing.


quote:

I guess what I'm trying to figure out is what kind of code can embarrass


I am not really embarrased - it was just a throwaway comment. :)

I just meant that I used the kind of code I would never use on a site - full of font tags etc. That's all.

_____________________________

Katherine

:: InKK Design :: InKK Domains

(in reply to Giomanach)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Can CSS be enabled for emails? - 10/7/2004 10:56:33   
I've used the linked stylesheet method, and had no problems in hotmail, yahoo, aol, Outlook (and Express) and Mozilla Mail.

Never tried TBird or Eudora with it...

I think the first time we used it was about a year and a half ago, it's been working fine ever since. No complaints. :)

The really interesting part, was that when I reset my accounts to only accept text email I expected it to look like a mess... but surprisingly every client I checked it with succesfully stripped the html (and css link) and presented it quite well in standard text.

(This was using an automated mail list script written in ASP/CDONTS)

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to abbeyvet)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Can CSS be enabled for emails?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts