FIX: Increase Indent Command Replaces DIV with BLOCKQUOTEID: Q191044
|
In Design view, if you click Increase Indent when the cursor is inside a <div> element, the <div> HTML tag is replaced with the <blockquote> element. This can cause data loss.
This is caused by a limitation in the way Design view is implemented.
Do not use Increase Indent to indent a <div> element. Instead, go to Source view and manually enclose the <div> element within <blockquote> tags.
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why>
Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
This is a data loss issue. Any attributes, except style attributes, that
exist within the <div> tag are lost (that is, the attributes are not
replicated in the resulting <blockquote> tag).
For instance, the following <div> element:
<div id=myDiv myCustomAttribute style="color:green">My div</div>
is converted to the following <blockquote> element:
<BLOCKQUOTE style="COLOR:green">My div</BLOCKQUOTE>
Additional query words:
Keywords : kbide kbVisID600bug kbGrpASP kbVS600sp3fix
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 24, 1999