dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: background image

  1. #1
    Join Date
    Apr 2013
    Posts
    36

    background image

    hi
    i have psd design with background image that width is only 940px;
    what i going to do ?

    tell the designer that is work going to work only in small screen that see only 940px width ;

    i try this:
    background: url(img/header.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    but is only work on big images;



    here the psd design:

    http://www.free-psd.co/free-psd-webs...es/1004-sifiso



    what you guys do when you come up with design that is width is only 940px ?

  2. #2
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,219
    Could try:

    http://www.cssplay.co.uk/layouts/background.html
    bgStretcher jQuery Plugin Allows to Add Background Image to Page and Proportionally Resize it to Fill Entire Window Area: http://www.ajaxblender.com/bgstretch...nd-plugin.html

  3. #3
    Join Date
    Apr 2013
    Posts
    36
    thx look good.

  4. #4
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,219
    You're welcome. Hope it works for you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles