Issue with the .NET IDE

  • Thread starter Thread starter Steve Mauldin
  • Start date Start date
S

Steve Mauldin

I am having problems with the .NET IDE deleting HTML code. My HTML code has
the following line of code.

<td width="170" style="background: url(images/bg-login.gif) repeat-x top
#1D47A1; padding-left:6px; padding-right:5px; padding-top:10px"
class="homepageLoginTxt">

In switching back and forth between design mode and HTML mode the IDE takes
it upon itself to change this line to then following line of code.

<td width="170" class="homepageLoginTxt">

This totally changes the look and feel of the page. Is there a way of
turning off this un-asked for and unwanted auto editing of the HTML code?

This behavior is easy to duplicate by adding a style to a <td> and while the
page is editable (checked out of SourceSafe) switch to design mode and just
click on an object on the page now switch back to the HTML mode and the
style you have hard coded on the <td> is no longer there. ( note there maybe
other ways to illicit this behavior.)
 
This is a known issue/bug. There is not way that I know of to stop this
from happening.
 
Back
Top