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

Thread: is there a way to make a background image scale in size?

  1. #1
    Join Date
    Jul 2009
    Posts
    77

    is there a way to make a background image scale in size?

    I have the following code, and I want to make the headerslige.png image scale up or down in size:

    <div id="header" style="background-image: url('images/headerslice.png'); background-repeat:no-repeat; height:257px; " >
    </div>

    Any suggestions?

  2. #2
    Join Date
    Jul 2009
    Posts
    77

    Question

    I found this: http://css-tricks.com/how-to-resizea...kground-image/

    But it uses an image instead of a background image--fine, works and all, but I have a 1px high slice that I want to have repeat vertically..

    any way to do that?

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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