Solved

style sheet not showing in secure page asp.net

Posted on 2010-11-09
4
471 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
I found the solution in other post EE
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

762 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