Fix: VS removing closing </link> tag

From: Moyo (roledog_99_at_yahoo.com)
Date: 09/04/04


Date: 3 Sep 2004 17:13:13 -0700

I was having a problem with VS 2003 removing the closing forward
slash(/) from my Link tag in the head of my aspx docs when switching
be between design and html mode.
(e.g.
1. While in html mode it would look like this
<LINK REL="Style***" TYPE="text/css" RUNAT="SERVER" ID="MyStyle"/>
2. Switch to design mode
3. switch back to html and the IDE removes the closing slash
<LINK REL="Style***" TYPE="text/css" RUNAT="SERVER"
ID="ServTraxStyle">
(how nice-huh)
Well...as it turns out...as far as I can tell...if you save the
document before switching to design mode, the IDE will leave the
closing slash alone.

This drove me crazy for a bit...Hope this helps someone.


Quantcast