Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2003
    Location
    Jersey City NJ
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Background problem...

    Ok I made this image(see the image posted) and it's 500x500. I want it to be my background image and I want it to repeat like in 1 flow..ya know? anyhow, thats what Im lookin for, Thanks.



  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Errmmm...

    I want it to repeat like in 1 flow..ya know?
    Eh, no, I don't.
    What do you mean with "flow"? On what do you want it to be the background? Basically, with CSS you can assign a background for just about every element:
    Code:
    body { background-image: url(theimage.jpg); }
    I've chosen body here, but that can be a number of things.
    Furthermore, you can control the repeat behavior and position; check out the W3C specs for more details: CSS2: Colors and Backgrounds
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #3
    New Coder
    Join Date
    Jan 2003
    Location
    Jersey City NJ
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I want to use that as my main pages background image. And since the image is 500x500 I want to make the image continue in a down path, not tiling over..just going down.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Then use the "background-repeat: repeat-y;" CSS -- see the link Ronald gave for more options. You'll probably want to also use "background-position" to set your background it to the left, the right or the center of the page as well.
    Check out the Forum Search. It's the short path to getting great results from this forum.


  •  

    Posting Permissions

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