Solved

style sheet not showing in secure page asp.net

Posted on 2010-11-09
4
472 Views
Last Modified: 2012-05-10
somehow my style sheet is not kicking off , until the user logs in using the form in the login page, I want to show the style on all pages regardless of login status.. can you help?


web congfig
       <authentication mode="Forms">
        <forms loginUrl="Login.aspx" name="adAuthCookie" timeout="20" path="/" >
        </forms>
        </authentication>
        <authorization>
        <deny users="?" />
        <allow users="*" />
        </authorization>
        <identity impersonate="true" />


MasterPage

<link href="styles/style.css" rel="stylesheet" type="text/css" />

Open in new window

0
Comment
Question by:TonyReba
  • 3
4 Comments
 
LVL 4

Expert Comment

by:Antyrael
ID: 34093356
Sorry if I'm completely missing how asp works, I'm not familiar with it.

But, would it help if you put the stylesheet link higher up, before the authentication stuff?
0
 
LVL 9

Author Comment

by:TonyReba
ID: 34093431
acording to this post
is something I misssing in my web config, can someone explain?

http://forums.asp.net/p/1550711/3801747.aspx
0
 
LVL 9

Accepted Solution

by:
TonyReba earned 0 total points
ID: 34093580
I found the solution already:

http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_25484226.html?sfQueryTermInfo=1+10+30+css+locat+path+secur

basically I was missing to add location path for my style sheet  so I could be accessed!!

0
 
LVL 9

Author Closing Comment

by:TonyReba
ID: 34130192
I found the solution in other post EE
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to count occurrences of each item in an array.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

816 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

9 Experts available now in Live!

Get 1:1 Help Now