Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

css print styles in outlook

Status
Not open for further replies.

markbrum

Technical User
Mar 10, 2003
46
GB
Hi,
I'm trying to use different styles in my html email by using:-

@media screen {
.tables { background-color: #999933; color: #FFFFFF }
}
@media print {
.tables { background-color: #FFFFFF; color: #000000 }
}

embedded in my document, this isn't working, as soon as I enter the @ etc, Outlook no longer reproduces either rule.

Anyone know why? Thanks, Mark.
 
I'm fairly certain this has to do with the limited support that Outlook (version?) has for stylesheets. As far as I am aware, there is no way to supply different stylesheets for different media type (screen/print) in Outlook.

CSS defined either in the head section or inline works (as I'm sure you know).

Would be interested in reading any other feedback from users who may have worked on this in the past.

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top