Explore the community Forums Lectora Lectora Questions & Answers Use image as background in browser window Reply To: Use image as background in browser window

#399565 Score: 1
Profile photo of Darrel Somoza
Darrel Somoza
friend finder
junior moderator
wise owl
curious george
209 pts

Add an HTML Extension cascading style sheet to the root of the project (just under the title) with the following:

#pageDIV {
background-repeat: no-repeat;
background-size: cover;

Another thing you can do, in addition to the above, if you if you are building a responsive project is create background images that match the PhonePortrait, PhoneLandscape, TabletPortrait and TabletLandscape sizes and then with each of those selected click on the same image background and select the appropriate image. you can have different images for each.

This post has received 1 vote up.