Solved

image remains small in ezine

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Wordpress "chart" plugin recommendation 7 60
CSS: Making responsive table look nicer 7 31
Under active page on navigation bar 8 16
CSS DIV Height in Percent 1 9
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
When you’re making plans to join the modern business race, you should analyze various details that may affect your results. Nowadays, millions of businesses are trying to grow into established and appreciated professional enterprises.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

820 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