Solved

css in IIS

Posted on 2013-01-10
5
130 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 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 334 total points
ID: 38762738
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
ID: 38762799
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
ID: 38762955
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 75

Accepted Solution

by:
käµfm³d   👽 earned 334 total points
ID: 38763403
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
ID: 38808824
Thanks a lot,

It solved the problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Calling web service and its methods dynamically 2 42
Calling stored proc in EDMX 11 24
Data is not showing from images 15 38
Ajax Panel Not Updating When Triggered By Timer 4 44
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 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

18 Experts available now in Live!

Get 1:1 Help Now