ASP .NET newbie question

C

Chris

Hi all,

I've built a website in VS2005 using ASP .NET. The problem I'm having is
that images which are put in App_Data folder will only show in the designer.
I'm trying to show images with the CSS "background-image:" tag. If I take
the images out of the folder they show.

Any ideas what might be causing this?

Chris
 
S

S. Justin Gengo [MCP]

Chris,

Images should not be stored in the App_Data folder. It's not meant to be
accessed by the public since it is generally going to contain classes.

Instead store your images in an "Image" folder.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
C

Chris

Chris said:
Hi all,

I've built a website in VS2005 using ASP .NET. The problem I'm having is
that images which are put in App_Data folder will only show in the
designer. I'm trying to show images with the CSS "background-image:" tag.
If I take the images out of the folder they show.

Any ideas what might be causing this?

Chris

Argh, ignore me. I figured out what I was doing wrong.

Regards,

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top