Strange error: fixed background image won't work

Discussion in 'CSS' started by WebsterStar, Jun 21, 2010.

  1. #1
    First time this happens to me and I'm not sure what I'm doing wrong...

    This is the part of my original CSS code:

    <TR><td><FONT SIZE="8" COLOR="#336699" class=copyright><B>Title</B><body background="url"</FONT><hr></td></tr><tr><td align=right><form method=post action="?action=browse">Jump to Category:...

    Already tried about 10 different codes, but it simply won't work. It continues to scroll along and repeats itself about 10 times.

    Already tried things like this in my code:
    <background="fixed">
    <bg properties="fixed">
    <body background="url" behavior="fixed">
    <body style="background-attachment: fixed; background-repeat: no-repeat;" background="url">

    Could someone please help me and tell me what I am doing wrong? :confused:

    I tried setting my background image to no-repeat, but that didn't work either.

    I should better change my nickname into Hopeless 1 ;)
     
    WebsterStar, Jun 21, 2010 IP
  2. fqqs

    fqqs Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try

    <body style="
    background-image: url(http:/sdsad);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;">
     
    fqqs, Jun 22, 2010 IP
  3. WebsterStar

    WebsterStar Active Member

    Messages:
    78
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    68
    #3
    Thank you so much. I kept breaking my head moving pieces of the code around for days, and you fixed it in 5 seconds :eek:
     
    WebsterStar, Jun 22, 2010 IP