How to stop table from adjusting width

SaturnsEye

I have a table set up for an email form but when I view it in Outlook the column gets pushed out and it doesn't align properly.

I want the text the sit in the column next to the image but It get's pushed over to the right when I view it in Outlook.

I've tried adding the width to the tables properties but it still plays up.

Obviously it views fine in JSFiddle but I'm hoping someone knows where the problem lies.

http://jsfiddle.net/KmqLg/

<table width="500px" border="1">
    <tr>
        <th height="40" colspan="2" align="left" bgcolor="#FFFFFF" scope="row">
            <h1><img src="http://icons.iconarchive.com/icons/oxygen-icons.org/oxygen/256/Actions-arrow-right-icon.png" width="16" height="30" />NAME</h1>
        </th>
    </tr>
    <tr>
        <th height="70" width="70" align="left" bgcolor="#FFFFFF" scope="row">
            <img src="http://www.nasa.gov/images/content/617883main_VIIRS_4Jan2012.small.jpg"
            width="70" height="70" />
        </th>
        <th width="430" height="41" align="left" bgcolor="#FFFFFF" scope="row"><strong>Text Text Text Text Text Text Text Text Text Text Text Text</strong>
        </th>
    </tr>
</table>

This is what Outlook is doing to my table:

여기에 이미지 설명 입력

As you can see, the text doesn't sit to the left of the cell.

Sbml

Try to remove px from width property in table and th tags like this

<table width="500" border="1">

For Outlook 2007 you could try to add inline css too

<th height="40" style="width:40px;" colspan="2" align="left" bgcolor="#FFFFFF" scope="row">

CSS SUPPORT

Try this:

<table width="500" border="1" cellspacing="0" cellpadding="0">
    <tr>
        <td height="40" width="498" bgcolor="#FFFFFF" scope="row">
             <h1><img src="http://icons.iconarchive.com/icons/oxygen-icons.org/oxygen/256/Actions-arrow-right-icon.png" width="16" height="30" />
        NAME</h1>

        </td>
    </tr>
    <tr>
        <td>
            <table border="0" width="498" cellspacing="0" cellpadding="0">
                <tr>
                    <td height="70" width="70" bgcolor="#FFFFFF" scope="row">
                        <img src="http://www.nasa.gov/images/content/617883main_VIIRS_4Jan2012.small.jpg" width="70" height="70" style="display: block;" />
                    </td>
                    <td width="428" height="70" bgcolor="#FFFFFF" scope="row"><strong>Text Text Text Text Text Text Text Text Text Text Text Text</strong>

                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How to stop Word (2016) from selecting the entire table cell with the mouse

분류에서Dev

Adjusting to ASP from PHP

분류에서Dev

How would I stop a jquery method running below a certain width?

분류에서Dev

How to stop user from login?

분류에서Dev

How to get real width td table

분류에서Dev

How to animate an image as it grows from the width of a container to the full viewport width?

분류에서Dev

How to get width from animated div in jQuery

분류에서Dev

How to stop a remote desktop session from ending

분류에서Dev

How to set table width percentage using office js

분류에서Dev

How can i achieve truncated text in a responsive width table column?

분류에서Dev

How to make an html table deliberately exceed the width of its container?

분류에서Dev

How can I stop gvim from crashing when opening a file?

분류에서Dev

How to stop USB full ubuntu install from probing hard disks?

분류에서Dev

How can I stop terminal and firefox from launching on startup?

분류에서Dev

How can I stop windows from always booting first?

분류에서Dev

How do I stop gedit from opening anything?

분류에서Dev

How to pause, resume and stop pyttsx3 from speaking?

분류에서Dev

How can I stop pages from scrolling with an empty hyperlink jump?

분류에서Dev

How to stop MAC address from changing after disconnecting?

분류에서Dev

How do I stop Thunderbird from forgetting my passwords?

분류에서Dev

How can I stop excel from rounding to .00?

분류에서Dev

How to stop Ubuntu from changing numlock state on boot?

분류에서Dev

How to call computation.stop() from within Deps.autorun()?

분류에서Dev

How to stop Blogger from adding indentation style in image links?

분류에서Dev

How to stop Telerik CSS from overriding local changes?

분류에서Dev

How to stop TextArea from "snapping" to a different size while using GridBagLayout

분류에서Dev

PHP how to stop email sending out from localhost

분류에서Dev

how to stop objects from being dragged off screen

분류에서Dev

How stop rpcbind from being started on Arch Linux?

Related 관련 기사

  1. 1

    How to stop Word (2016) from selecting the entire table cell with the mouse

  2. 2

    Adjusting to ASP from PHP

  3. 3

    How would I stop a jquery method running below a certain width?

  4. 4

    How to stop user from login?

  5. 5

    How to get real width td table

  6. 6

    How to animate an image as it grows from the width of a container to the full viewport width?

  7. 7

    How to get width from animated div in jQuery

  8. 8

    How to stop a remote desktop session from ending

  9. 9

    How to set table width percentage using office js

  10. 10

    How can i achieve truncated text in a responsive width table column?

  11. 11

    How to make an html table deliberately exceed the width of its container?

  12. 12

    How can I stop gvim from crashing when opening a file?

  13. 13

    How to stop USB full ubuntu install from probing hard disks?

  14. 14

    How can I stop terminal and firefox from launching on startup?

  15. 15

    How can I stop windows from always booting first?

  16. 16

    How do I stop gedit from opening anything?

  17. 17

    How to pause, resume and stop pyttsx3 from speaking?

  18. 18

    How can I stop pages from scrolling with an empty hyperlink jump?

  19. 19

    How to stop MAC address from changing after disconnecting?

  20. 20

    How do I stop Thunderbird from forgetting my passwords?

  21. 21

    How can I stop excel from rounding to .00?

  22. 22

    How to stop Ubuntu from changing numlock state on boot?

  23. 23

    How to call computation.stop() from within Deps.autorun()?

  24. 24

    How to stop Blogger from adding indentation style in image links?

  25. 25

    How to stop Telerik CSS from overriding local changes?

  26. 26

    How to stop TextArea from "snapping" to a different size while using GridBagLayout

  27. 27

    PHP how to stop email sending out from localhost

  28. 28

    how to stop objects from being dragged off screen

  29. 29

    How stop rpcbind from being started on Arch Linux?

뜨겁다태그

보관