Jump to content


Photo

Background to fill 100% of screen


  • Please log in to reply
1 reply to this topic

#1 bravo14

bravo14

    Advanced Member

  • Members
  • PipPipPip
  • 231 posts

Posted 20 December 2013 - 06:23 AM

I am working on a site that has a background that changes, on top of that I have put a background image that has a means I can still see the background images but can also see the text on top.  The problem I have is that the black background image doesn't fill the entire screen.

 

The URL of the site is http://217.199.187.6...keracing.co.uk/

 

The CSS file in use is attached

 

I can't see why the image bg_black.png isn't filling the entire screen.

 

 

Attached Files



#2 denno020

denno020

    Advanced Member

  • Members
  • PipPipPip
  • 707 posts
  • LocationAustralia

Posted 28 December 2013 - 04:47 AM

Have you tried adding background-size: cover;

see http://css-tricks.co...ckground-image/

 

Hope that helps,

Denno






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com