Solved

style sheet not showing in secure page asp.net

Posted on 2010-11-09
4
475 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

752 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