I have the following code in my aspx page.
<% If StuffFromDatabase = "yes" then
myTop = 100
Else
myTop = 200
%>
<div style="position:absolute; top:<%=myTop%>">Test</div>
If I save/rebuild this page it works fine.
However, if I switch between DESIGN / HMTL a couple of
time, VS changes my code to
<% If StuffFromDatabase = "yes" then
myTop = 100
Else
myTop = 200
%>
<div>Test</div>
It removes my entire absolute positing sytle!
PS. Sorry about double posting. I did not know there were
a VS and a VS .NET newsgroup.