Help with this HTML string in a CGI file.

Discussion in 'HTML & Website Design' started by chris07, Oct 7, 2008.

  1. #1
    <BODY TEXT=#000000 style=background-image: url(images/redbg.jpg); LINK=#0000FF VLINK=#800080 ALINK=#FF0000>

    I cant get my background image to show up. It defaults to a white background. This is a HTML string in a CGI fille that is called from clicking a link on the main index page.
     
    chris07, Oct 7, 2008 IP
  2. navbeacon

    navbeacon Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Seems to me like you forgot the " s

    <BODY TEXT="#000000" style="background-image: url(images/redbg.jpg);" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
     
    navbeacon, Oct 7, 2008 IP
  3. chris07

    chris07 Peon

    Messages:
    351
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No, that is not the case, its not sensitive to "
     
    chris07, Oct 7, 2008 IP
  4. navbeacon

    navbeacon Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ah, I'm sorry. :)

    Have you tried removing the space between "background-image:" and "url(images/redbg.jpg);" ?
     
    navbeacon, Oct 7, 2008 IP
  5. chris07

    chris07 Peon

    Messages:
    351
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes, thats not it
     
    chris07, Oct 7, 2008 IP
  6. chris07

    chris07 Peon

    Messages:
    351
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    it was the positioning of the background tag.

    <BODY background="/images/redbg.jpg" TEXT=#000000 LINK=#0000FF VLINK=#800080 ALINK=#FF0000>
     
    chris07, Oct 7, 2008 IP