Jump to content

Setting background image


Shoukat_1983

Recommended Posts

When making a new ASP.Net web application using C# language I set the web form background to an image(stored on my hard dist) but when i execute the web page. The page contains only that part of image pixels of whic the web page is and not the other remaining parts of the pixels. But i want the web page fully contains the image.

Link to comment
Share on other sites

The amount of the background that is shown is based on how big the webform is. If you use CSS to set the width and height of the element that contains the back to the width and height of the background image then it will all get shown

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...