Reputation: 6625
Why would this inline style be causing an error? I'm using intelij as my IDA and it's saying invalid value for style="background-image:url(../images/email-bg.jpg);"
<table border="0" cellpadding="0" cellspacing="0" height="489" width="639" align="left" style="background-image:url(../images/email-bg.jpg);">
The reason I'm using inline styling is because I'm doing an HTML e-mailer.
Upvotes: 2
Views: 389
Reputation: 31141
When you send this email out to people, where will ../images/email-bg.jpg
point to?
You'll need to use an absolute path. Something like http://yoursite.com/images/email-bg.jpg
so it will point to your image no matter where you're looking at it from.
Upvotes: 6