www.webdeveloper.com
Results 1 to 2 of 2

Thread: is there any way to repeat an image without a width on the container?

  1. #1
    Join Date
    Apr 2006
    Posts
    119

    is there any way to repeat an image without a width on the container?

    Here's what I'm trying to do..

    I have a header container that's made up of 3 images (each 107px tall), each in their own div:

    image-left.png (780 x 107)
    image-center.png (7 x 107)
    image-right.png (118 x 107)

    I want the header to be fluid with the browser. Right now, I've got a repeat-x on image-center.png, but it only works if I specify a width on the center div.

    Is there any way to make the center image repeat without specifying the width on the div?

    Thanks in advance..

    Steve

  2. #2
    Join Date
    Oct 2013
    Location
    3rd planet from the sun
    Posts
    144
    instead of repeating the images why not make the width 100% ?

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