Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
How to add a background image in asp.net
Posted 15-Feb-10 0:54am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

you can apply css to your page body for an image in page background like below:
 

body
{
      background-image:<<url>>;
}
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Follow these simple steps:
1. Right click on the solution and select Add Existing Item.
2. Browse for an image and add it.
3. Now right click on any space on the page and select properties.
4. Go to Background and click the ellipses symbol [...]
4. Browse for the image you added recently and give
 
The image will be set as page background!
  Permalink  
Comments
M.Narmatha at 15-Dec-11 0:57am
   
how to set paricular part of page only...
Gaurav Jadhav at 12-Mar-13 7:31am
   
how to image over an image in visual studio 2010 c#.net
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

<body background="image.jpg"></body>
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,108
1 OriginalGriff 8,186
2 CPallini 2,613
3 Richard MacCutchan 2,231
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 21 Jun 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100