Hi All;
I have a wierd problem. I am dev'ing a site at the moment and when I browse to it via IIS it loads 100%. However, as soon as I want to perform debugging the css files do not load properly. Using my firefox dev plugins I checked the contents of the css files being loaded, and instead of them containing their original css, they had a copy of the pages generated html in it! What the hell???
Do you think it may be caused because the debugger runs on the ASP.NET Development Server as opposed to IIS?
I am using a master page, in which I have the css scripts inserted, like so:
This is very strange behaviour.
Perhaps I just need to restart my machine.
I will try the restart after this post and see if it has an effect.
Regards
Sean.![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
I have a wierd problem. I am dev'ing a site at the moment and when I browse to it via IIS it loads 100%. However, as soon as I want to perform debugging the css files do not load properly. Using my firefox dev plugins I checked the contents of the css files being loaded, and instead of them containing their original css, they had a copy of the pages generated html in it! What the hell???
Do you think it may be caused because the debugger runs on the ASP.NET Development Server as opposed to IIS?
I am using a master page, in which I have the css scripts inserted, like so:
Code:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="backend.master.cs" Inherits="sat_backend" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] xml:lang="en" >
<head id="Head1" runat="server">
<title>CMS</title>
<link href="css/main.css" rel="stylesheet" media="screen" type="text/css" />
<link href="css/frame.css" rel="stylesheet" media="screen"type="text/css" />
</head>
<body>
This is very strange behaviour.
Perhaps I just need to restart my machine.
I will try the restart after this post and see if it has an effect.
Regards
Sean.
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)