1)
I have created a login system in asp.net, and those who work with asp.net have probably tried this too.
The problem is... I have created a site(login page) that asks for verification when the user wants to enter a specific page. The problem is that when I want to test run (debug) any page, e.g my index page, it asks for verification. So must I place the code so that I dont need to verification to enter all pages?
2)
The second question is... I have written some code for adding a background image, but it wont always find the image. Sometimes when I add some more code, it suddenly just show white background. From what I found on google, it has something to do with my url, wether I type the absolute path or not, etc. But I have tried both, and I can't see to make it work. Here are some code examples:
<body>
<form id="form1" runat="server">
<div class="contentPane" />
<div>
<h3>Login required</h3>
<p>You can use email address to login</p>
</div>
<div>
</body>
And the CSS looks like that
*{margin: 0px; padding: 0px; }
body
{
background-image: url('http://localhost:50614/JamesImages/LoginImages/Login.png');
}
.contentPane
{
background-image: url('http://localhost:50614/JamesImages/LoginImages/innerLoginBG.png');
display: block;
margin-left: auto;
margin-right: auto;
padding-top: 20px;
}
I have also tried the below, and also use use the ~
body
{
background-image: url('LoginImages/Login.png');
}
Thanks in advance

New Topic/Question
Reply




MultiQuote







|