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 6125477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:15:09+00:00 2026-05-23T16:15:09+00:00

I have observed this table deviates from its specified width..As I add a table

  • 0

I have observed this table deviates from its specified width..As I add a table to one of its cell, the table stretches..I tried to debug it but to no avail..The highlighted part is the table that stretches it..How can I fix this?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<table cellpadding="0" cellspacing="0"  width="720" border="1" align="center">
    <!-- first part -->
    <tr>
        <td valign="top">
                <!-- Start top spacer  -->
                <table width="720" border="1" align="center">
                    <tr>
                        <td valign="top">
                            <img src="Spacer-top_1.jpg" width="29" height="40" alt="Nopic" title="" />
                        </td>
                        <td valign="top" width="662">
                            <img src="Spacer-top_2.jpg" width="29" height="40" alt="Nopic" title="" />
                        </td>
                        <td valign="top">
                            <img src="Spacer-top_3.jpg" width="29" height="40" alt="Nopic" title="" />
                        </td>
                    </tr>
                </table>
                <!-- End top spacer  -->
         </td>
     </tr>
     <tr>
        <td valign="top" bgcolor="#99FFFF">
                <!-- Start body  -->
                <table width="720" border="1" align="center">
                    <tr>
                        <td valign="top">
                            <img src="Spacer-top_1.jpg" width="29" height="40" alt="Nopic" title="" />
                        </td>
                        <td valign="top"  >

                            <!-- start main body -->
                               <table cellspacing="0" cellpadding="0" width="662">
                                       <tr>
                                               <td>Main content
                                           </td>
                                   </tr>
                            </table>

                        </td>
                             <!-- End main body -->

                        <td valign="top">
                            <img src="Spacer-top_3.jpg" width="29" height="40" alt="Nopic" title="" />
                        </td>
                    </tr>
                </table>
                <!-- End body  -->
        </td>
     </tr>     
      <tr>
        <td valign="top">         
               <!-- Start bottom spacer  -->
                <table width="720" border="0" align="center">
                    <tr>
                        <td valign="top">
                            <img src="Spacer-bottom_left.jpg" width="46" height="21" alt="Nopic" title="" />
                        </td>
                        <td valign="top" width="662">
                            <img src="Spacer-bottom_top.jpg" width="21" height="21" alt="Nopic" title="" />
                        </td>
                        <td valign="top">
                            <img src="Spacer-bottom_right.jpg" width="52" height="21" alt="Nopic" title="" />
                        </td>
                    </tr>
                </table>
                <!-- End bottom spacer  -->
          </td>
     </tr>     


    <!-- /first part -->


</table>
 </body>
 </html>

http://jsfiddle.net/vq8hg/2/

  • 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-05-23T16:15:09+00:00Added an answer on May 23, 2026 at 4:15 pm

    Try code below.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    
    <body>
        <table cellpadding="0" cellspacing="0"  width="720" border="1" align="center">
            <!-- first part -->
            <tr>
                <td valign="top">
                        <!-- Start top spacer  -->
                        <table  style="width:100%" border="1" align="center">
                            <tr>
                                <td valign="top">
                                    <img src="Spacer-top_1.jpg" width="29" height="40" alt="Nopic" title="" />
                                </td>
                                <td valign="top" width="662">
                                    <img src="Spacer-top_2.jpg" width="29" height="40" alt="Nopic" title="" />
                                </td>
                                <td valign="top">
                                    <img src="Spacer-top_3.jpg" width="29" height="40" alt="Nopic" title="" />
                                </td>
                            </tr>
                        </table>
                        <!-- End top spacer  -->
                 </td>
             </tr>
             <tr>
                <td valign="top" bgcolor="#99FFFF">
                        <!-- Start body  -->
                        <table style="width:100%" border="1" align="center">
                            <tr>
                                <td valign="top">
                                    <img src="Spacer-top_1.jpg" width="29" height="40" alt="Nopic" title="" />
                                </td>
                                <td valign="top"  >
    
                                    <!-- start main body -->
                                       <table cellspacing="0" cellpadding="0" width="662">
                                               <tr>
                                                       <td>Main content
                                                   </td>
                                           </tr>
                                    </table>
    
                                </td>
                                     <!-- End main body -->
    
                                <td valign="top">
                                    <img src="Spacer-top_3.jpg" width="29" height="40" alt="Nopic" title="" />
                                </td>
                            </tr>
                        </table>
                        <!-- End body  -->
                </td>
             </tr>     
              <tr>
                <td valign="top">         
                       <!-- Start bottom spacer  -->
                        <table style="width:100%" border="0" align="center">
                            <tr>
                                <td valign="top">
                                    <img src="Spacer-bottom_left.jpg" width="46" height="21" alt="Nopic" title="" />
                                </td>
                                <td valign="top" width="662">
                                    <img src="Spacer-bottom_top.jpg" width="21" height="21" alt="Nopic" title="" />
                                </td>
                                <td valign="top">
                                    <img src="Spacer-bottom_right.jpg" width="52" height="21" alt="Nopic" title="" />
                                </td>
                            </tr>
                        </table>
                        <!-- End bottom spacer  -->
                  </td>
             </tr>     
    
    
            <!-- /first part -->
    
    
        </table>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a view (actually, it's a table valued function, but the observed behavior
I have a table x that's like the one bellow: id | name |
I have an SSIS package that exports data from a table on a SQL
I have this form submit code: Event.observe(window, 'load', init, false); function init() { Event.observe('addressForm',
I have observed that, very infrequently, Internet Explorer (7 or 8, it does not
Suppose you have an ActiveRecord::Observer in one of your Ruby on Rails applications -
I have a custom control/view that observes the direction of a gesture within its
I have only one class with many instances. Every instance is observer of couple
I have a table view that displays dates using a NSDateFormatter to format them
I have a table where I am dumping some transaction data. I have a

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.