Results 1 to 2 of 2

Thread: background images for scrollable content 2?

  1. #1
    Join Date
    May 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default background images for scrollable content 2?

    "An interesting way to decorate the script is with a background image."

    I am completely lost as to where to put the background image code and of course... how exactly to put the code in.

    I messed with table and body codes and put them where I thought they may belong to no avail.

    If anyone could help me out on this it would be GREATLY appreciated.

    Thanks in advance,

    Kenny

  2. #2
    Join Date
    May 2005
    Location
    Iowa
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    In JavaScript, you put scrolling text inside of a display object (a text box) that is usually inside a form. The best way would be to create a style sheet class and then apply it to the text box. For example, in the head section of your HTML, put:

    <style type="text/css">
    <!--
    .backimg {background-image: url(images\texture.gif);}
    -->
    </style>

    Then, inside the form element in the body, your display object might look something like:
    <INPUT type="text" name="message" class="backimg" size="30">

    I hope that helps you!

    Cheers!
    TechhieTim

Bookmarks

Posting Permissions

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