Need help with Webpage

Discussion in 'Computer Science & Culture' started by Binary, Apr 27, 2003.

Thread Status:
Not open for further replies.
  1. Binary Registered Senior Member

    Messages:
    204
    Hey, I was wondering if anyone could offer some insight into this problem. I was creating a new website, but I ran into a bit of a problem. For some reason I can't get the webpages to use a picture as a background. I did it before, but that was without using a CSS, but I plan on using that now since I'm undertaking a larger project. Even though, I still tried it both ways, and it's remains a no go. I checked the syntax over several times, and the pictures in the correct format. Something I'm doing wrong? Any clues?

    Please Register or Log in to view the hidden image!

     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. testify Look, a puppy! Registered Senior Member

    Messages:
    508
    would you be able to show your body tag?

    It should be something like this:
    PHP:
    <body background="picture.jpg">
    just ignore the PHP thing...I couldn't figure out how to keep it from being used as an actual tag.
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. Binary Registered Senior Member

    Messages:
    204
    Yeah I got it exactly like that, and this what my CSS looks like.

    body
    {
    background-image:
    url("Background_pic1.jpg")
    background-attachment: fixed
    }

    That's what so stumping about this one. Everything seems to be right.

    Please Register or Log in to view the hidden image!

     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. DCLXVI Bloody Bastard Registered Senior Member

    Messages:
    363
    You want the image to repeat itself and not scroll with the page? Ick...

    Anyway it should be...

    body
    {
    background-image:
    url("Background_pic1.jpg"); <- note
    background-attachment: fixed
    }
     
  8. Binary Registered Senior Member

    Messages:
    204
    Thanks alot my for replying. I think I've found the problem. For some reason when using an external syle sheet it just refuses to allow me to set certain properties. I guess I'll just have to use internal ones. I would sure like to find out why one day... ah well.

    Please Register or Log in to view the hidden image!

     
Thread Status:
Not open for further replies.

Share This Page