Posted on: 10/10/2014 6:39:18 PM | Views : 508

Hello
If I place a large pink background image like this
body {background: transparent url(../images/bg1.gif) repeat;} in the <style> tags of my Login.aspx form, the image is launched. However, if I copy and paste exactly that line of script into my logon.css file which is in my Account folder in Solution Explorer, nothing happens.
As a consequence, all of my CSS styles are in my two aspx files. However, I have decided that I need to tidy things up by placing my CSS code into logon.css, so I used this in the <head> tags:
<link rel="stylesheet" type="text/css" href="logon.css" /> The file is still not recognised even though it is the one VS gave me when I dragged logon.css into the main window of my project. So I tried this:
link href="<%=ResolveUrl("~/Account/logon.css ...

Go to the complete details ...