...

View Full Version : images do not show in emails



jasonpc1
04-08-2011, 09:30 PM
I have used the following CSS within the html code for the email but it does not show the image.

how do i correctly add an image to a <div>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> site </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css"><!--
.headerSpace{ height: 100px; background: #999999 url('http:site.com/images/logo.jpg') no-repeat left; text-align: center; }
--></style>
</head>
<body>
<div class="headerSpace">
</div>

<div>
other content
</div>
</body>
</html>

Excavator
04-08-2011, 11:43 PM
Hello jasonpc1,
Could it be that http:site.com/images/logo.jpg is not a good path? Try it like http://site.com/images/logo.jpg

Always double check your path, filename, spelling and capitolization since any mistake there can affect your image showing up.

richierich32
04-09-2011, 07:16 PM
A good lesson Excavator



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum