John
Junior Contributor
Hi,
I am using the ASPNETPortal from the ASP.NET Starter Kits as the starting point for a site I'm building. This project makes use of a css style sheet so all the aspx files have the following line in the HTML view of the page inside the <head> </head> tags:
For some reason when you change anything on the page in design view the IDE automatically changes it to this:
Then when you run the project it errors on that line. Now I know I can simply change it to this:
The point being that it becomes less portable doing it this way. I'm just wondering if anyone knows how I can get the IDE to stop changing this thing on me all the time.
Thanks,
John
I am using the ASPNETPortal from the ASP.NET Starter Kits as the starting point for a site I'm building. This project makes use of a css style sheet so all the aspx files have the following line in the HTML view of the page inside the <head> </head> tags:
Code:
<link rel="stylesheet" href='<%= Global.GetApplicationPath(Request) [b]&[/b] "/ASPNETPortal.css" %>' type="text/css">
For some reason when you change anything on the page in design view the IDE automatically changes it to this:
Code:
<link rel="stylesheet" href='<%= Global.GetApplicationPath(Request) [b]&[/b] "/ASPNETPortal.css" %>' type="text/css">
Then when you run the project it errors on that line. Now I know I can simply change it to this:
Code:
<link href='/PortalVBVS/ASPNETPortal.css' type="text/css" rel="stylesheet">
The point being that it becomes less portable doing it this way. I'm just wondering if anyone knows how I can get the IDE to stop changing this thing on me all the time.
Thanks,
John