Solved

css in IIS

Posted on 2013-01-10
5
129 Views
Last Modified: 2013-01-22
Hi,

I have deployed web application in IIS 7.0 in windows server 2008

but when i run it through the browser it is not displaying properly, i.e  the page in
the browser is not displaying with any style sheet , I have verified that

the static content is also installed and i have given the permission IUSR to the site

but still it is not displaying with any style sheet. can you please guide me what

extra i need to do with IIS
0
Comment
Question by:praveen1981
  • 2
  • 2
5 Comments
 
LVL 74

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 334 total points
Comment Utility
Have you tried running something like Fiddler to see if the stylesheet is actually coming back to the browser?
0
 
LVL 10

Assisted Solution

by:CSIPComputing
CSIPComputing earned 166 total points
Comment Utility
How have you linked to the style sheet?  Is it in the same folder as the ASP/HTML or a sub folder?

Have you used notation such as:
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />  (Correct)

or do you have

<link rel="stylesheet" href="c:\style.css" type="text/css" media="screen" /> (WRONG)

You can use the Developer Tools (Press F12) to see where elements of your style are coming from if you're viewing using Internet Explorer.
0
 

Author Comment

by:praveen1981
Comment Utility
Hi,

      I am getting these following three in red color if i check in fiddler



        Result      Protocol      Host      URL      Body      Caching      Content-Type      Process      Comments       Custom      


6      404      HTTP      localhost /content/stylesheets/login.css      5,196      private        text/html; charset=utf-8      chrome:4132

   

        404      HTTP      localhost      /scripts/LAB.js?v=160101010530        5,181      private        text/html; charset=utf-8      chrome:4132      

       
8      404      HTTP      localhost      /scripts/loader.js?v=160101010530 5,187      private        text/html; charset=utf-8      chrome:4132
0
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 334 total points
Comment Utility
If the entries are in red, then it means that the resources could not be located. You may need to adjust your paths for debugging purposes. Ensure that you have set the paths to your CSS files up correctly in your markup.
0
 

Author Closing Comment

by:praveen1981
Comment Utility
Thanks a lot,

It solved the problem.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now