Solved

style sheet not showing in secure page asp.net

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

624 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