SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Apr 2004
    Location
    PA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Repeating Background Image....

    Is there a way to repeat a background image in both the X and Y directions. Currently I use something like this:

    background:transparent url(/images/blue-scan.gif) repeat-x left top;

    I would like to use a nice small image and repeat it in both X and Y directions. Is this possible?

    Thanks...Mike
    Last edited by EvM-Mike; Nov 4, 2004 at 16:36. Reason: Spelling.
    Evolution Motorsport
    The Performance Company

  2. #2
    SitePoint Addict
    Join Date
    Apr 2004
    Location
    PA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never mind, I figured it out....

    background:transparent url(/images/blue-scan.gif) repeat left top;

    Thanks...Mike
    Evolution Motorsport
    The Performance Company

  3. #3
    100% Windoze-free earther's Avatar
    Join Date
    Feb 2003
    Location
    Linuxland
    Posts
    2,788
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you will have to stack another <div> on top to do it. Have one going the X and one the Y direction.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,367
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Hi Mike,

    The default is for the image to repeat in all directions anyway lol

    Paul


Bookmarks

Posting Permissions

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