Jump to content

How to put an image in the background and adjust it so that it fits on the screen


Priyanka Kumari

Recommended Posts

I am designing a landing page and it needs to have a background image which fits the screen. I am using the below HTML code in text area

 

 

 

 

 

 

Width is adjusting as I am resizing the screen but the height is not adjusting. I am getting a scroll bar. By giving, height as 100% doesn't solve the issue.

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...