Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

image remains small in ezine

Posted on 2012-03-14
5
Medium Priority
?
228 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

609 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