www.webdeveloper.com
Results 1 to 2 of 2

Thread: Is there a way to make a background stretch?

  1. #1
    Join Date
    May 2009
    Posts
    21

    Is there a way to make a background stretch?

    HTML Code:
    selector {
    background:#BA9BB6 url('/background.png');
    }
    Now, "background/png" is larger than the selector. How do I get the background to stretch so it exactly fits the selector?

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    You can't; it requires an inline image.
    At least 98% of internet users' DNA is identical to that of chimpanzees

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