Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Posts
    365
    Tokens
    0

    Default HTML Background.

    Hey,

    Im doing a myspace design and i need to put a background that repetas downwards. k im a noob at html so dont laugh

    {background}
    body
    { font-size: 1px;
    line-height: 1px;
    background-color: 000000;
    background-image: url("http://img236.imageshack.us/img236/9...kgroundfz2.jpg");
    background-repeat: repeat-n;
    background-position: top center;
    font-family: Arial, sans-serif;
    color: ffffff;
    }

    What have i done wrong cos it dont work. Its probs something realy simple but im thick lol
    REMOVED

    Edited by jesus (Forum Super Moderator): Please do not have images in your signature which are too large for your usergroup. Also do not have text in your signature which is over size 4.

  2. #2
    Join Date
    Dec 2006
    Location
    Nottingham
    Posts
    7,752
    Tokens
    756
    Habbo
    katie.pricejorda

    Latest Awards:

    Default

    HTML Code:
    <body background="http://img236.imageshack.us/img236/9080/backgroundfz2.jpg">
    Simple as

  3. #3
    Join Date
    Oct 2007
    Location
    UK
    Posts
    471
    Tokens
    0

    Default

    Or... change repeat-n to repeat-y (i think)

  4. #4
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    repeat-n does not exist

    its either

    repeat-x (horizontally)
    repeat-y (vertically)
    no-repeat (place image only once)

  5. #5
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    HTML Code:
    body
     
    {font-size: 1px;
    line-height: 1px;
    background-color: #000000;
    background-image: url ("http://img236.imageshack.us/img236/9080/backgroundfz2.jpg");
    background-repeat: repeat-y;
    background-position: top center;
    font-family: Arial, sans-serif;
    color: #ffffff;
    }
     
    You missed the '#' infront of the colours and repeat-n doesnt exist
    Last edited by Decode; 10-12-2007 at 08:54 PM.
    Lets set the stage on fire, and hollywood will be jealous.

Posting Permissions

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