Click here to Skip to main content
Sign Up to vote bad
good
See more: VB.NET
How to add a background image in asp.net
Posted 15 Feb '10 - 0:54


3 solutions

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

body
{
      background-image:<<url>>;
}
  Permalink  
<body background="image.jpg"></body>
  Permalink  
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 - 15 Dec '11 - 0:57
how to set paricular part of page only...
Gaurav Jadhav - 12 Mar '13 - 7:31
how to image over an image in visual studio 2010 c#.net

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 223
1 Ron Beyer 220
2 Aarti Meswania 200
3 Mahesh Bailwal 175
4 Rohan Leuva 170
0 Sergey Alexandrovich Kryukov 8,553
1 OriginalGriff 6,899
2 CPallini 3,648
3 Rohan Leuva 2,963
4 Maciej Los 2,308


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 21 Jun 2011
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid