Solved

image remains small in ezine

Posted on 2012-03-14
5
221 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
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…

813 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

16 Experts available now in Live!

Get 1:1 Help Now