-
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
-
-
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
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks