Solved

image remains small in ezine

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

760 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