Solved

How to select explicit height and witdh rather than colspan on web export in photoshop

Posted on 2010-11-18
2
507 Views
Last Modified: 2012-08-14
Hi,

I think that the 'save for web and devices' in photoshop is very useful for designing HTML email templates however it is not ideal to use colspan as any opf you have worked with email design can appreciate. So I am wondering is it possible to change the export option to use explicit height and width attributes rather than colspan?

thanks
0
Comment
Question by:jecommera
2 Comments
 
LVL 22

Accepted Solution

by:
remorina earned 250 total points
ID: 34170082
Hi jecommera,
The only control you have for slices in TDs is either auto, Always or never, you can access this by clicking the Optimize menu from the Save as for web dialog as shown below in the figure 1 then going to Slices as shown in figure 2.

However, colspan shouldn't have anything to do with this as a colspan is used when a cell is using a space equivelant for 2 or more cells of the same table, removing colspan and setting a width wouldn't work even if you try it manually in the code as it would break the table layout.

I'm afraid you would still have to get your hands involved in a bit of code as the auto slicing and HTML generation wouldn't get a suitable results out of the box.

Hope this helps
capture1.gif
capture2.gif
0
 
LVL 1

Assisted Solution

by:ModernTheorie
ModernTheorie earned 250 total points
ID: 34255183
The best advice I can give is not to rely on Photoshop for coding output. You're better off completing the design in Photoshop but before you start slicing, think carefully about how the tables will lay out. Many email clients have problems with colspans so the best thing to do is use nested tables. It adds a lot of table code but it's not a problem considering you don't have to worry about SEO or slow loading usually.

So if you can think of slicing your design in a way in which you will be placing one table inside another (i.e. a <table> inside a <td> of another larger <table>), you will be able to avoid colspans. But, unfortunately, Photoshop can't do that, you would need to manually do it.
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

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Learn how to use the remote presentation tool in Prezi to allow you to harness the power of this cloud based presentation platform. You can show your presentation with a remote audience using this free tool.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

943 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

6 Experts available now in Live!

Get 1:1 Help Now