473,387 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Background image or Images does not display with the login screen

Hi All,

I try to create a login screen using mode="Forms"
Web Config:
<authentication mode="Forms">
<forms name=".ASPXAUTH"
loginUrl="Login.aspx"
protection="All"
timeout="30"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
cookieless="UseCookies" />
</authentication>

<authorization>
<deny users="?" />
</authorization>

on my login aspx page:

div id="pnlLogIn">
<table id="Table1" style="WIDTH: 453px" cellSpacing="0"
cellPadding="0" align="center" border="0" runat=server>
<TR>
<TD noWrap>&nbsp;</TD>
</TR>
<TR>
<TD style="PADDING-RIGHT: 5px" noWrap align="right"></TD>
</TR>
<TR>
<TD style="BACKGROUND-POSITION-X: center;
background-image:url(Images/loginheader.gif); width:453px; HEIGHT:
59px" noWrap class=LogInHeader>
<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="100%"
border="0" runat=server>
<TR>
<TD align=center>
<span id="Label3" class=LogInHeader runat=server>Login
Screen</span>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</div>

When I ran it the back ground image does not display for me. I can see
the image in the design view. And also the styles does not work either,
it does not display the text I want

Please help.

Thanks

Nov 6 '06 #1
1 5713
I have the same problem but only if I run application using build-in VS2005
ASP.NET Server. But on localhost there is no such problem.
You also can play with Security tab in Properties of your images folder.
"Ted Ngo" <nt******@yahoo.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
Hi All,

I try to create a login screen using mode="Forms"
Web Config:
<authentication mode="Forms">
<forms name=".ASPXAUTH"
loginUrl="Login.aspx"
protection="All"
timeout="30"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
cookieless="UseCookies" />
</authentication>

<authorization>
<deny users="?" />
</authorization>

on my login aspx page:

div id="pnlLogIn">
<table id="Table1" style="WIDTH: 453px" cellSpacing="0"
cellPadding="0" align="center" border="0" runat=server>
<TR>
<TD noWrap>&nbsp;</TD>
</TR>
<TR>
<TD style="PADDING-RIGHT: 5px" noWrap align="right"></TD>
</TR>
<TR>
<TD style="BACKGROUND-POSITION-X: center;
background-image:url(Images/loginheader.gif); width:453px; HEIGHT:
59px" noWrap class=LogInHeader>
<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="100%"
border="0" runat=server>
<TR>
<TD align=center>
<span id="Label3" class=LogInHeader runat=server>Login
Screen</span>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</div>

When I ran it the back ground image does not display for me. I can see
the image in the design view. And also the styles does not work either,
it does not display the text I want

Please help.

Thanks


Nov 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nick Iredale | last post by:
For some reason I can't work out, the background image at the head of some pages at http://www.fuorimano.net does not show when viewed using IE (I haven't been informed which version) on a Mac. ...
21
by: Dan V. | last post by:
I have tried a number of things including preloading, but the background image (water tile in header) in IE 6 will not display where other browsers will....
5
by: Derek Fountain | last post by:
I have a horizontal navigation bar, which is a single row table containing the right images. It "stretches" itself across the screen using a penultimate td like this: <td width="100%"...
3
by: Greg Heilers | last post by:
Hello everyone... If one has a <div> that is completely filled with a background-image; how does one style it so that the image *continues* to fill the <div> top-to-bottom, left-to-right; if...
1
by: leovega | last post by:
Hello, My aplication starts with a simple login window (login_page.aspx). Once the login/password is validated I redirect to an html which contains 3 frames. (mywebsite.html) The web site I...
4
by: FlyingsCool | last post by:
Well, I did a search and found a few references with a similar subject but no answers for me. At http://www.flyingscool.com/FC_eLearning.htm I have a table row with a background image using the...
5
by: Michael | last post by:
Is there a way to specify a background-image for a html table cell in a theme's css file. I know a lot of things I can't do... can't figure out one that I can do: 1) ~/ Images/logo.gif...
0
by: aparth | last post by:
I've been trying and failing to create an image map that contains a tiled background image underneath the main image. My image map is 600px in height. I want the main image (img_bottom.jpg) to...
1
by: Moridius | last post by:
Hey all. I've encountered a problem fore wich I need a litle help... I have set a reference to a picture on my local disk in a Reports Picture property (I programmaticly set the reference in...
3
by: VLJones68 | last post by:
I am using Visual Studio 2008 to create a vb.net webite and I have created a three column content container however the background image will not display in browser (I have only tested on IE and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.