Microsoft KB Archive/296840

= FP2002: Cellspacing/Cellpadding Attributes Removed from Table When Using Default Values =

Article ID: 296840

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition

-



This article was previously published under Q296840



SYMPTOMS
When you attempt to change the cellspacing attribute of a table to 2 pixels or the cellpadding attribute to 1 pixel, the respective attribute is removed entirely.



CAUSE
This behavior occurs if you set the value for the attribute to its default setting. FrontPage removes the attribute and value because it is redundant.



WORKAROUND
To work around this behavior, change attribute values in the HTML source. To do this, follow these steps:  Create a new page in FrontPage and insert a table. On the Table menu, point to Insert, and then click Table. Choose the options you want and click OK. Right-click the table and then click Table Properties on the menu that appears. In the Cell spacing and Cell padding boxes, type 0, then click OK. Switch to HTML view. Locate the cellspacing and the cellpadding attributes for the table. The code will look similar to the following:



 Change the cellpadding and cellspacing attribute values, so that your code looks similar to the following:

<table border=&quot;1&quot; cellpadding=&quot;1&quot; cellspacing=&quot;2&quot; style=&quot;border-collapse: collapse&quot; width=&quot;100%&quot; id=&quot;AutoNumber1&quot;>

</li> Switch back to Normal view.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: front page

Keywords: kbbug kbnofix KB296840

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.