BUG: Multiple Cells in an HTML Table Cannot Be Aligned at Once

ID: Q194002


The information in this article applies to:
  • Microsoft Visual InterDev, version 6.0


SYMPTOMS

When you attempt to align text in an HTML table and multiple cells are selected, nothing happens when you click on the alignment buttons on the HTML Toolbar.


CAUSE

The HTML table does not allow text in multiple cells to be aligned at the same time in Design View using the alignment buttons on the HTML toolbar.


RESOLUTION

Align the text in the cells one at a time in Design View or edit the HTML source code directly.

For example, the following code is generated when an HTML table with one row and three columns is inserted on a page:


   <TABLE border=1 cellPadding=1 cellSpacing=1 width=75%>

       <TR>
           <TD>x</TD>
           <TD>y</TD>
           <TD>z</TD></TR></TABLE> 
To align all the cells in the row at once, edit the code as follows:

   <TABLE border=1 cellPadding=1 cellSpacing=1 width=75%>

       <TR align=center>
           <TD>x</TD>
           <TD>y</TD>
           <TD>z</TD></TR></TABLE> 


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words:

Keywords : kbide kbVisID600bug kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: May 27, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.