i have my Login.aspx page in the Account folder in my website and it uses a master page site.master and when i changed the:
My login page works fine but all the styles applied in the site.css doesn't apply to the the login page because as far as i know the resources of my website is not available unless the user enters a username and password...how can i get my login page styles applied?????


Felipe RamosRank #1,409 · 1.2K reputationPosted May 17, 2011, 4:18 AM EDT
In this way you are saying that everyone has access to the scripts and css folder.
Morcos Adel115 reputationPosted May 17, 2011, 4:45 AM EDT
i wrote the code you supplied in the web.config in the Account folder,but nothing happened
My code file now looks like :
Felipe RamosRank #1,409 · 1.2K reputationPosted May 17, 2011, 4:50 AM EDT
Morcos Adel115 reputationPosted May 17, 2011, 4:53 AM EDT
Morcos Adel115 reputationPosted May 17, 2011, 4:56 AM EDT
and i think it should work because it works for the Register.aspx page
but not for the others???
is it because of that the Register.aspx in the same directory of the Login page (Account) ????
Felipe RamosRank #1,409 · 1.2K reputationPosted May 17, 2011, 5:02 AM EDT
Here is the msdn reference
http://msdn.microsoft.com/en-us/library/b6x6shw7.aspx
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted May 17, 2011, 5:20 AM EDT
@Maro
You are applying some styles in account directory(folder) right? but styles completely doesn't appear inside all .aspx page in account folder. isn't it?
Please reply....
(i) path of .css file
(ii) how you are referring (adding) css file in master page.
Look at the sample working code:
In master page:-
::::::::::::::::
Note to use href correctly, it should map css file.
Sometimes images creates problem means images not appear inside directory pages. if so then, always use a tag with
Hope this helps
Morcos Adel115 reputationPosted May 17, 2011, 6:07 AM EDT
Felipe RamosRank #1,409 · 1.2K reputationPosted May 17, 2011, 6:10 AM EDT