Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2004
    Location
    london
    Posts
    718
    Tokens
    0

    Talking How do i put a background on my website?

    ? How do i put a background on my website?
    Habbox productions trialist

    Timberlands are not chavvy! lol

  2. #2
    Join Date
    Mar 2005
    Posts
    2,312
    Tokens
    0

    Latest Awards:

    Default

    What kind of website?

  3. #3
    Join Date
    Jul 2005
    Location
    Bristol
    Posts
    2,054
    Tokens
    -10

    Latest Awards:

    Default

    For an image isnt it summat like:

    <body background="IMAGE URL">

  4. #4
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    Quote Originally Posted by Embraces
    For an image isnt it summat like:

    <body background="IMAGE URL">
    its best to use css really "its the future" so it would be:
    HTML Code:
    <style>
    {
    background: 99ccff;
    }
    </style>
    or to make an image your bg:
    HTML Code:
    <style>
    {
    background: url(IMG URL);
    }
    </style>

  5. #5
    Join Date
    Jul 2005
    Location
    Bristol
    Posts
    2,054
    Tokens
    -10

    Latest Awards:

    Default

    Im rubbish at CSS ;P

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

    Latest Awards:

    Default

    Use Charlies way.

    CSS is totally better.

    - Dan

  7. #7
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    Plus withing afew years all the <font> tags etc will be replaced by it anyway so your best to learn it and use it now.

  8. #8
    Join Date
    Jul 2005
    Location
    Bristol
    Posts
    2,054
    Tokens
    -10

    Latest Awards:

    Default

    Any good sites where i can start learning? ;P

    - Sam

  9. #9
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    Hmm.. www.w3schools.com is the ultimate place for css but its less tutorialised really. But css is VERY basic and you will pick it up in two seconds.

  10. #10
    Join Date
    Jul 2005
    Location
    Bristol
    Posts
    2,054
    Tokens
    -10

    Latest Awards:

    Default

    2 Mins, Ive learnt how to do,

    PHP Code:
    <style type="text/css">
    body 
    {
    background-image:
    url('bgdesert.jpg')
    }
    </
    style>

    </
    head>

    <
    body>
    <
    center>Testing</center>

    </
    body>

    </
    html
    and

    PHP Code:
    <html>
    <
    head>

    <
    style type="text/css">
    body {background-coloryellow}
    h1 {background-color#00ff00}
    h2 {background-colortransparent}
    {background-colorrgb(250,0,255)}
    </
    style>

    </
    head>

    <
    body>

    <
    h1>This is header 1</h1>
    <
    h2>This is header 2</h2>
    <
    p>This is a paragraph</p>

    </
    body>
    </
    html

Page 1 of 2 12 LastLast

Posting Permissions

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