...

View Full Version : PHPMailer CSS problem



achcore
02-19-2009, 07:09 AM
Hi,
I have got a peculiar problem occurring when I am sending a html mail along with css embedded in the text of the mail. In CSS i have added a background image which is not showing in the email body although other css attributes like width,height are working fine. Also when I am sending the email with image directly embedded in the body,that is showing fine. Anyone has any idea? Thanks in advance.

abduraooft
02-19-2009, 08:41 AM
Are you using the absolute path to your image in your background-image property (inside url() )?

background-image:url(http://yoursite.com/images/your-image.gif)

achcore
02-19-2009, 09:42 AM
Thank for your comment.
Yes,I'm using absolute path in the url of background image.

achcore
02-20-2009, 09:42 AM
problem solved..Thanks abduraooft..

abduraooft
02-20-2009, 10:01 AM
problem solved..Thanks abduraooft..Please post your solution, as it may benefit others when they face similar issues.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum