I am creating an email in dreamweaver with links. I need to have a background image to place photos of products on that are then clickable. The background image will not need to be clickable. I know I can add the background image in Page Properties, however it is linked to my local files, so when I put the HTML code into the email it does not show the background... any suggestions. For reference, if anyone uses iContact, that is what the email will be sent with.
Thanks to anyone who can help.
Not possible. When it comes to emails simpler is better. Some clients, like GMail, will rip the backgrounds of the body out, plus, outside of iOS and probably Mozilla (ie: Thunderbird), no one is going to see background images in table cells. If you really need fancy emails, the safest bet is to slice it up and put the images in table cells. That's because GMail is not the best at seeing image maps either. The second solution if GMail is not a huge concern is image maps.
Also, in regards to your path question, DW does not have an email mode, although it is something I constantly push for, and you can too ( https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform ). So you just need to work in code view and update the URLs to be absolute URLs to your domain. The GUI isn't going to be very helpful here.
You need to upload and host all images on a web server - either through iContact or on your own server. You can not send the email with images linked to a local hard disk.
A small note to keep in mind - some email clients do not show background images so if your design is centered around this image appearing, you may want to reconsider your design approach.
I will be placing the images on iContacts site. When placing an image into the Dreamweaver file I will use the url from the hosted image. I've tested it out and it worked well but I have designed a background for this email in Illustrator. How do I use the background?
Also I read briefly somewhere about needing to use "inline" instead of a "style sheet". What exactly does that mean and how do I do it? Is it needed if I am creating a email?
Thanks for the help!
SnakEyez02 wrote:
Some clients, like GMail, will rip the backgrounds of the body out, plus, outside of iOS and probably Mozilla (ie: Thunderbird), no one is going to see background images in table cells.
GMail actually show background images if coded properly. The 2 worst offenders for this are Hotmail and Outlook 2010 but even Hotmail can be configured to show them - I just choose to turn them off due to Hotmail making all images a dirty grey until loaded.
I agree though - simpler is better! Especially for email.
MacFly1203 wrote:
Also I read briefly somewhere about needing to use "inline" instead of a "style sheet". What exactly does that mean and how do I do it? Is it needed if I am creating a email?
You can not mail an email with a style sheet - the styles applied need to be inline and in some cases embedded which just means they all need to be on the same page.
Example.
Inline:
<p style="color:#FF0000;">The style is part of the tag.</p>
Embedded:
<html>
<head>
<style>
.red {color:#FF0000;}
</style>
</head>
<body>
<p class="red">The style is defined by the embedded class in the head section.</p>
</body>
</html>
See this link for more information: http://www.w3schools.com/css/css_howto.asp
Murray *ACP* wrote:
And, if you are going to embed the stylesheet, then you have to embed it BELOW <body>, otherwise the email will ignore the rules.
I suppose that depends on how you plan to use the embedded styles. I only ever use embedded styles for overwriting email client specific actions - such as Hotmail removing the first table, iOS adding a link to everything it can save and the background image overwrite for some clients. These go in the head section. I have never tried to put any styles other than inline below the <body> tag. If the style is for basic email styling, I suggest always using inline.
North America
Europe, Middle East and Africa
Asia Pacific