BUG: Multiple Cells in an HTML Table Cannot Be Aligned at Once (194002)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
This article was previously published under Q194002 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.
Modification Type: | Minor | Last Reviewed: | 3/16/2005 |
---|
Keywords: | kbBug kbDSupport kbide KB194002 |
---|
|