ASP.Net aspx markup
- by Batuta
I am working on some old web forms application.
When I changed from design to view source of the aspx page, the aspx markup becomes disarranged.
For example, a label is written as follows:
<asp:label id="Label20"
style="Z-INDEX: 119; LEFT: 16px; POSITION: absolute; TOP: 424px"
runat="server"
Height="24px" Width="72px">Instructions:</asp:label>
It suddenly becomes like this (when I toggle from design to source)
<asp:label id="Label20" style="Z-INDEX: 119; LEFT: 16px; POSITION: absolute; TOP: 424px" runat="server"
Height="24px" Width="72px">Instructions:</asp:label>
Notice that the alignment and margins, tab stops are changed. Any idea how to prevent VS from doing this?
Thanks.