203 posts
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Egypt
Morad says

Hi everyone.

I want to make a something.

First, when i make a background image for a web page, it’s by default repeated and this repeat could observed when changing resolution of screen may be over 1024 768, and it could not to be repeated by making {background-repeat: no-repeat} then the background will go to left and a white space will be exist in right and this is what i don’t want. I want the background to be stretched in all page and i don’t know the code for that.

I hope you provide me with the missing information.


17 posts
  • Exclusive Author
  • Has been a member for 4-5 years
  • United Kingdom
twincircuits says

try this:

(in the HTML )

background image

(in the CSS )

img.stretch { position: fixed !important; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }

Enjoy :)

181 posts
  • Envato Studio (Microlancer) Beta Tester
  • Brazil
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 10 and 49 users
jonatanfroes says