Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2005
    Posts
    6,366
    Tokens
    325

    Latest Awards:

    Default This must sound REALLY stupid but....

    What is the HTML code to get an image to be a background but not repeat. The way people code layouts, that code. I can do the other HTML/PHP by myself.

  2. #2
    Join Date
    Oct 2005
    Posts
    1,128
    Tokens
    0

    Latest Awards:

    Default

    Welp if your trying to do it like that go to photoshop make yourself a layout, slice it, code it. Thats all, i dont really know what you mean by HTML code cause not all templates have same code, and one more thing i thought you said you knew HTML well? And arnt you making that Mafia Text RPG thing?

  3. #3
    Join Date
    Mar 2005
    Posts
    6,366
    Tokens
    325

    Latest Awards:

    Default

    Quote Originally Posted by 3lementGFX
    Welp if your trying to do it like that go to photoshop make yourself a layout, slice it, code it. Thats all, i dont really know what you mean by HTML code cause not all templates have same code, and one more thing i thought you said you knew HTML well? And arnt you making that Mafia Text RPG thing?
    Ja. I Meant, say if I wanted to create a website where I could change the background easily but keep the same dimensions, I could place a Background picture and then put the text on top, but I do not know the code to put in the image tag or CSS or whatever people use to get this effect.

    I didn't say I knew LOADS about HTML, but I know more than just the basics. And also I do not have photoshop, I cannot afford it.

  4. #4
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    HTML Code:
    body 
    {background-image: url(yourimage.gif);
    background-repeat: no-repeat
    }
    - Dan

  5. #5
    Join Date
    Mar 2005
    Posts
    6,366
    Tokens
    325

    Latest Awards:

    Default

    Quote Originally Posted by Raremandan
    HTML Code:
    body 
    {background-image: url(yourimage.gif);
    background-repeat: no-repeat
    }
    - Dan
    Thanks mate.

Posting Permissions

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