dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Scrolling text box in frontpage

  1. #1
    Join Date
    Dec 2005
    Posts
    63

    Scrolling text box in frontpage

    I want to have a black background color for my scrolling text box, but I do not know how to make it any other color but white.

  2. #2
    Join Date
    Jan 2006
    Location
    Stafford, England
    Posts
    565
    textarea {
    background-color: #000000;
    }

    Put that in your styles.

    That is if you are talking about a text area in a form.

    If you mean somthing else like an iframe let us know.

  3. #3
    Join Date
    Dec 2005
    Posts
    63
    I have no idea on where to post that at in my html code, it adds crap to it. I just needa black background for my scrolling box, where my red text will show up. here is the code.
    </style>

    <!--webbot bot="HTMLMarkup" endspan -->
    </td>
    </tr>
    <center>
    <tr>
    <td width="899" height="695" valign="middle" bgcolor="#000000" bordercolor="#000000" bordercolorlight="#000000" bordercolordark="#000000">
    &nbsp;
    <p>&nbsp;</p>
    <div align="center">
    <table border="1" cellspacing="1" width="70%" height="473" bordercolor="#008000" bordercolorlight="#008000" bordercolordark="#008000" bgcolor="#008000">
    <tr>
    <td width="100%" height="467" bgcolor="#000000" bordercolor="#008000" bordercolorlight="#008000" bordercolordark="#008000">
    <form method="POST" action="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" U-File="_private/form_results.txt"
    S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
    <p><textarea rows="30" name="S1" cols="76"></textarea></p>textarea {<BR>background-color: #000000;<BR>}<BR>

  4. #4
    Join Date
    Jan 2006
    Location
    Stafford, England
    Posts
    565
    My advise to you is if you dont know where to put styles you really aught to lean some basic HTML instead of relying on a WYSIWYG editor to do everything for you.

    You need to add the bit I gave you to the head of your document.

    That is the bit between the head tags near the top of your code.

    You will also have to put the style tags around this if you have no other style in your code.

    Here is an example on where it goes.


    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    textarea {
    background-color: #000000;
    }
    </style>

    </head>

    <body>

    </body>
    </html>
    Last edited by johneva; 01-14-2006 at 01:06 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles