Forums

How to change image from tile to fit mode (2 posts)

  1. Anonymous
    Unregistered
    Posted 3 years ago #

    I have a header image which stays behind the title of my website.

    The image is tiles and forms more images that are spread through a certain resolution. I tried replacing the image and erased the repeat-x function, but the images continue tiling. I have a new logo which I want to make form for the website as a new image, but if I insert the image, it will continuously tile. I can make the image the limits of the header placeholder, but is there any way I can insert code so that the image doesn't tile?

  2. VelvetBlues.com
    Member
    Posted 3 years ago #

    If you don't want something to repeat, use the no-repeat attribute. For example, you might use something like this:

    #header{background:url(images/stripe.png) top left no-repeat;}

Topic Closed

This topic has been closed to new replies.

About this Topic