Solved

image remains small in ezine

Posted on 2012-03-14
5
220 Views
Last Modified: 2012-03-16
I am using an ezine template I found online that is supposed to display properly on all platforms using all different types of email software.  I have been fighting with it though.  I want the second image of the single man on the roof to display bigger.  It shows up perfectly in DW.  Not sure what css code is causing it to fail to get bigger.  Any help would be appreciated.

http://bedfordunderwriters.com/email/new_ezine_roof2.html

screenshot
http://screencast.com/t/pzjsvaboLS
new-ezine-roof2.html
0
Comment
Question by:nsitedesigns
  • 2
  • 2
5 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 37720979
Because you are using an obsolete table layout, the size of the image is constrained by the cell that contains it.

You could play around with the size of the cell but then you run into the biggest problem with table layout, and the whole layout gets screwed up.


Cd&
0
 
LVL 16

Accepted Solution

by:
HagayMandel earned 500 total points
ID: 37721521
This piece of html is taken from your source code:
<td width="376" valign="top"><img src="img/p_roofer9.jpg" alt="Bedford Underwriters" width="376" height="350" border="1" class="small" style="max-width:260px;"  />
<div mc:edit="liwc600_content00"> </div></td>

Open in new window


As you can see. the problem is with: style="max-width:260px;
Remove this, and you can set the image dimensions as you please
0
 

Author Comment

by:nsitedesigns
ID: 37721538
I modified the cell width and it worked.  Weird, thought I tried that yesterday and it didn't work.  

As a side note, it is my understanding that I need to use tables for ezines because it is the most reliable and it works on nearly all email programs. From my research css doesn't translate well across all software.
0
 

Author Comment

by:nsitedesigns
ID: 37721616
where is style="max-width:260px?  I did a search in the code and could not find it.
0
 
LVL 16

Expert Comment

by:HagayMandel
ID: 37721643
It was part of the image tag, which you had just removed!!

<img src="img/p_roofer9.jpg" alt="Bedford Underwriters" width="376" height="350" border="1" class="small" style="max-width:260px;"  /
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now