/    Sign up×
Community /Pin to ProfileBookmark

Email Signature using CSS

Hi guys I’ve set up and email signature using a HTML doc, i’m trying to link the document to my email signature in Microsoft Outlook.

However, the CSS I’ve put in the header of the HTML document isn’t executing, (i’d usually put it in a seperate CSS sheet but I can’t attach both to my emails).

So I was wondering if there’s any way of specifying ‘a:hover’ and other anchor tag style attributes in the actual body of the document. I’ve tried doing style=”a:hover {color:#000000}” in the tag elements but it isn’t working.

Any suggestions?

Cheers
Jon

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@KDLAMar 15.2007 — You might take a look at this: http://www.w3.org/TR/css-style-attr#examples

however....

Most email clients ignore those CSS attributes (e.g. msn, hotmail, gmail), stripping them from the code. Unless you can format your signature using strict HTML coding, it won't be guaranteed to show up as you want it.
×

Success!

Help @jonthomas83 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...