By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,846 Members | 1,803 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,846 IT Pros & Developers. It's quick & easy.

ahhh help im new to html and stuff

P: 6
Right my problem is..

On my website i want to use a box that scrolls otherwise it pushes the box it is in out of shape and horrible but anyway..

im doing this..

<TEXTAREA id=blah rows=19 readOnly cols=65>text to go in the box ere
</TEXTAREA>

thing i need help with is making the background black and the font white o.0

PLEAAAASSEEEEEE help me
Apr 1 '07 #1
Share this Question
Share on Google+
3 Replies


kestrel
Expert 100+
P: 1,071
Expand|Select|Wrap|Line Numbers
  1. <textarea id="blah" rows="19" readOnly cols="65" style="background-color: #000000; color: #ffffff; border: 1px solid black;">text to go in the box ere
  2. </textarea>
if you are using xhtml, you might want to consider using valid markup,
like using "" for things such as id="blah"
Apr 1 '07 #2

drhowarddrfine
Expert 5K+
P: 7,435
thing i need help with is making the background black and the font white
In your css:
textarea{
background-color:black;
color:white;
}

But I wouldn't. This is hard to read due to high contast.
Apr 1 '07 #3

P: 6
wow thanks so much guys :D

*high five*
Apr 1 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.