[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How car I insert an image in a master form using asp.net?

Posted on 2009-04-30
4
Medium Priority
?
365 Views
Last Modified: 2013-12-25
I'm completely new in this. I have no Idea on how to insert an image in a form in terms of background. If someone can help me I would be really grateful.
0
Comment
Question by:JAVI1065
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:Cognize
ID: 24294436
So you want an image to sit behind a form that a user fills in?

You could do it with CSS (Cascading style sheets)

So in the header section of your page, you could type something like:

<style type="text/css">

body
{
    background-image: url('yourimagefolder/yourimage.jpg);
}


</style>

Maybe if you be a bit more specific about what you are trying to do we can help you further
0
 
LVL 2

Author Comment

by:JAVI1065
ID: 24294473
No, sorry I mean only for background how can I insert it, I see something of a URL, but I don't know how to get the url of the image. I know it should be simple, but I'm copmpletely newbie in ASP.
0
 
LVL 2

Accepted Solution

by:
Cognize earned 2000 total points
ID: 24295937
The url of the image will depend on where it is stored on your computer relative to the page you want it to appear on.

So if your hope page is http://www.YourSite.com/Default.asp and you've put your image in a folder called images under the root of the web site, then the URl would be http://www.YourSite.com/images/YourPicture.jpg

I hope that helps.
0
 
LVL 2

Author Comment

by:JAVI1065
ID: 24295971
Thanks for everything
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses
Course of the Month18 days, 19 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question