Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9282201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T18:18:52+00:00 2026-06-18T18:18:52+00:00

I am writing an HTML newsletter and for some reason my img width does

  • 0

I am writing an HTML newsletter and for some reason my img width does not extend the full width of the td tag despite having the same pixel width. My image shows up as 180, but the width of the td tag is 186. provided below is my code.

<table width="600" bgcolor="#ffffff" height="30" cellpadding="0" cellspacing="0">
    <tr >
        <td width="10"></td>
        <td width="180" height="30" bgcolor="#000000"><p style="text-align:center; color:#ffffff">ALONSOS</p></td>
        <td width="10"></td>
        <td width="180" bgcolor="#000000"><p style="text-align:center; color:#ffffff">ZEN WEST</p></td>
        <td width="10"></td>
        <td width="180" bgcolor="#000000"><p style="text-align:center; color:#ffffff">LUCKIE'S TAVERN</p></td>
        <td width="10"></td>

    <tr>
        <td width="10"></td>
        <td width="180" height="30" bgcolor="#ffffff"><img src="zenwest.png" width="180"/></td>
        <td width="10"></td>
        <td width="180" height="30" bgcolor="#000000"><img src="zenwest.png" width="180"/></td>
        <td width="10"></td>
        <td width="180" bgcolor="#000000"><img src="magerks.png" width="180" /></td>
        <td width="10"></td>
    </tr>
    <tr>
        <td width="10"></td>
        <td width="180" ><p><b>Saturday, Feb. 9th</b></p>
            <p>$3 Bud Light</p>
            <p>$4 Soco & Lime</p>
            <p>$3 Bud Light</p>
        </td>
        <td width="10"></td>
        <td width="176"><p><b>Saturday, Feb. 9th</b></p>
            <p>$3 Bud Light</p>
            <p>$4 Soco & Lime</p>
            <p>$3 Bud Light</p>
        </td>
        <td width="10"></td>
        <td width="180"><p><b>Saturday, Feb. 9th</b></p>
            <p>$3 Bud Light</p>
            <p>$4 Soco & Lime</p>
            <p>$3 Bud Light</p>
        </td>
        <td width="10"></td>
    </tr>
</table>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T18:18:53+00:00Added an answer on June 18, 2026 at 6:18 pm

    table-cell width is similar to display: inline in that it does not necessarily respect the provided width, and in this case it depends on the table. The table cell widths will increase to fit the width of the entire 600px-wide table, resulting in the seemingly odd behavior you are seeing. You can either increase the in-between <td>s such that the total widths add up to 600, or you can remove the table width and have it be whatever it’s going to be (something like 580px).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing some html code to make an html email. I've done some research
Writing documentation in html requires some code examples. What to do with characters that
I'm writing an html page with some jQuery for style. So I have the
i'm writing a script to throttle some of the domains i send my newsletter
I've got the following javascript writing HTML for FlexPlayer: document.writeln(<object width=\489\ height=\414\ FlashVars=\+videoSource+\>); document.writeln(<param
I'm showing the text using ul and li tag. <ul class=archive-item-list-pt> <li><a href=/blogs/2012/9/22/reading-and-writing.html>Reading and
I'm writing some html to be shown in the screen and sent by e-mail
I'm writing HTML code for a Java servlet. I first write the code in
I'm writing an HTML parser in C# and want to include examples of the
I am writing an HTML program that will be accessed by over 500 people

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.