Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

style sheet not showing in secure page asp.net

Posted on 2010-11-09
4
Medium Priority
?
477 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn how to count occurrences of each item in an array.

705 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