1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Form Text Table Background - making it fixed

Discussion in 'Programming' started by misohoni, Jul 27, 2004.

  1. #1
    I have a multi line form text table and have a background image on the site. Problem is that it scrolls up when more text is typed in the form box. How can I make it fixed?
    SEMrush
    Here's the code:

    <div id="ChatPane" style="BACKGROUND: url(mods/iai/jsrs/raybot.gif) no-repeat left top; background-color: #EFF8FA; width:462px; height:226px; z-index:1; overflow: scroll; left: 0px; top: 0px; border: #C5C4CA; padding: 0px"></div>
     
    misohoni, Jul 27, 2004 IP
    SEMrush
  2. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,

    Try

    style="background-image: url(mods/iai/jsrs/raybot.gif); background-repeat: no-repeat; background-color: #EFF8FA; width: 462px; height: 226px; z-index: 1; overflow: scroll; left: 0px; top: 0px; border: #C5C4CA 1px solid; padding: 0px"

    This may help.
     
    xml, Jul 27, 2004 IP
  3. misohoni

    misohoni Notable Member

    Messages:
    1,717
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    200
    #3
    hi, doesn't seem to work...
     
    misohoni, Jul 27, 2004 IP
  4. misohoni

    misohoni Notable Member

    Messages:
    1,717
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    200
    #4
    fixed it - the code to place is "fixed" after no-repeat...
     
    misohoni, Jul 27, 2004 IP