2017-04-26 143 views
-1

我正在使用表格構建電子郵件爆炸。底部的表格行保持在倒數第二行的右側。我找不出原因是什麼。外面有人能幫我一把嗎?提前謝謝了!底部表格行右移

<html> 
 
    <head> 
 

 
    <title>Pup Gear</title> 
 
    
 
    <style>   
 

 
    html, body, div, span, applet, object, iframe, 
 
    h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
 
    a, abbr, acronym, address, big, cite, code, 
 
    del, dfn, em, img, ins, kbd, q, s, samp, 
 
    small, strike, strong, sub, sup, tt, var, 
 
    b, u, i, center, 
 
    dl, dt, dd, ol, ul, li, 
 
    fieldset, form, label, legend, 
 
    table, caption, tbody, tfoot, thead, tr, th, td, 
 
    article, aside, canvas, details, embed, 
 
    figure, figcaption, footer, header, hgroup, 
 
    menu, nav, output, ruby, section, summary, 
 
    time, mark, audio, video { 
 
    margin: 0; 
 
    padding: 0; 
 
    border: 0; 
 
    font-size: 100%; 
 
    font: inherit; 
 
    vertical-align: baseline; 
 
    } 
 
    /* HTML5 display-role reset for older browsers */ 
 
    article, aside, details, figcaption, figure, 
 
    footer, header, hgroup, menu, nav, section { 
 
    display: block; 
 
    } 
 
    body { 
 
    line-height: 1; 
 
    } 
 
    ol, ul { 
 
    list-style: none; 
 
    } 
 
    blockquote, q { 
 
    quotes: none; 
 
    } 
 
    blockquote:before, blockquote:after, 
 
    q:before, q:after { 
 
    content: ''; 
 
    content: none; 
 
    } 
 
    table { 
 
    border-collapse: seperate; 
 
    border-spacing: 0; 
 
    } 
 

 
    </style> 
 
    </head> 
 

 
    <body> 
 
    <table style="width:600px"> 
 
    
 
    <tr> 
 
     <td><a href="mailto:[email protected]" target=_blank><img 
 
    src="https://s3.amazonaws.com/pup-gear-email-assets/email+top+1.jpg" 
 
    style="width:600px"</img></a></td> 
 
    </tr> 
 
     
 
    <tr> 
 
     <td><a href="http://www.doggydocks.com/customer-reviews/" 
 
    target="_blank"><img src="https://s3.amazonaws.com/pup-gear-email- 
 
    assets/email+top+2.jpg" style="width:600px"></img></a></td> 
 
    </tr> 
 
    
 
    
 
    <tr> 
 
     <td><a href="http://pupgearcorporation.com/Customer-Service/Life- 
 
    Vest-Exchange-Program-and-Sizing-Information" target="_blank"><img 
 
    src="https://s3.amazonaws.com/pup-gear-email-assets/email+bottom+1- 
 
    3.jpg" style="width:600px></img></a></td> 
 
    </tr> 
 
    <tr> 
 
      <td><a href="mailto:[email protected]" 
 
    target="_blank"><img src="https://s3.amazonaws.com/pup-gear-email- 
 
    assets/email+bottom+2-3.jpg"></img><td> 
 
    
 
    </table> 
 
     
 
    </body> 
 
</html> 
 

+0

缺失結束''標記。此外,img標籤是自閉的。你在這裏有很多錯別字。 –

+0

我剛來這裏說哇,那是很多課。在未來的努力中速度很快 – TCharb

+0

另外,關於另一個話題的快速提問,爲什麼每當我問一個問題時總會被打倒聲譽點? –

回答

1

錯誤4 TD。

正確地將td關閉爲/ td。

關閉第4個td結束之前的「a」標記爲/ a。

關閉第4/td結尾之後的「tr」爲/ tr。