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 RamosPosted May 17, 2011, 8:18 AM
In this way you are saying that everyone has access to the scripts and css folder.
Felipe RamosPosted May 17, 2011, 10:10 AM
Morcos AdelPosted May 17, 2011, 10:07 AM
Abhimanyu K VatsaPosted May 17, 2011, 9:20 AM
@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
Felipe RamosPosted May 17, 2011, 9:02 AM
Here is the msdn reference
http://msdn.microsoft.com/en-us/library/b6x6shw7.aspx
Morcos AdelPosted May 17, 2011, 8:56 AM
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) ????
Morcos AdelPosted May 17, 2011, 8:53 AM
Felipe RamosPosted May 17, 2011, 8:50 AM
Morcos AdelPosted May 17, 2011, 8:45 AM
i wrote the code you supplied in the web.config in the Account folder,but nothing happened
My code file now looks like :