简体   繁体   中英

Outlook 2007 HTML Setting table width

I'm attempting to set a table width in a newsletter I am generating using HTML. I understand that CSS can't be used with Outlook and that styling basically needs to be included with content.

What I'm really struggling with is trying to set a set width for the table. Right now it is too wide and I'd like to trim it down. I'd like to move the width to the green line instead of the red line.

在此处输入图片说明

I've tried playing with the following code but no luck..

在此处输入图片说明

Any help would be appreciated!

You've probably got another row or element somewhere with a larger width than 150px that is overriding what you've got. I'd be happy to help you out if you post more of your HTML. I used to create a lot of HTML emails so I've had this happen in the past, and it's usually something you're not noticing that is overriding what you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM