Click here to Skip to main content
15,844,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can Anyone Reply me pls...

how to set background image for element of a page
Manish.Insan 15-Dec-11 1:20am    
please explain this question...
either you want background image for page or for particular control or for panel, div, table etc.
M.Narmatha 15-Dec-11 1:22am    
part of page..
M.Narmatha 15-Dec-11 1:25am    
jerrykid 15-Dec-11 1:21am    

you can use backimageUrl property of panel. and in div use style and then background-image and on page use image in body tag either use background-image or set image using style property.
Share this answer
M.Narmatha 15-Dec-11 1:56am    
inside panel image repeating 3 times..i want single image to cover full panel..what to do...
Try this
<asp:Panel ID="Panel4" runat="server" Height="30px" Width="370px" CssClass="fancyPanel">


background-image: url(;
Share this answer

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900