Background images not displaying.

E

ecuisinetest

I have some HTML that is being sent via email through an ASP.NET app.
It displays fine in
yahoo mail but not in gmail or hotmail. Can anybody shed some light.

Here is a link to a sample page

http://www.alliedtechnical.net/test.html

and the source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/
TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Test Page for Background Image Problem</title>
</head>
<body>
<div>
Just the image as an img tag...<br />
<img src='http://www.ecuisine.net/templates/6_footer.jpg'
alt="" />

<br />A table with a backgound-image on the table tag...<br />

<table width="600" style="height:324px;background-
image:url('http://www.ecuisine.net/templates/
6_footer.jpg');background-
repeat:no-repeat;">
<tr>
<td align="center" valign="middle">
Some data to fill the cell
</td>
</tr>
</table>

<br />A table with a backgound-image on the td tag...<br />
<table width="600">

<tr>
<td align="center" valign="middle" style="height:
324px;background-image:url('http://www.ecuisine.net/templates/
6_footer.jpg');background-repeat:no-repeat;">
Some data to fill the cell
</td>
</tr>
</table>
</div>
</body>
</html>
 
N

Nathan Sokalski

I am going to guess that it is the security settings for the email. There
are often stricter security settings for HTML email messages than there are
for plain text emails. Take a look at the settings in the email viewers, and
see if it works then. I use Hotmail, and I often need to click Show Content
for emails that are html emails (I believe there is an option to have it
always show it, but it's been a while since I checked). I would also like to
recommend that you not send html emails, or at least let the user specify
whether they want the email as html or plain text, because some email
viewers don't even give you the option of viewing the html of html emails.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top