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

CSS & TEXTAREA

P: 9
Please, why does the first textarea work but the second not ??

<html>
<head>
<style type="text/css">
#txt {style="background-color:#F0F0F0; color:#0000FF; font-size:10pt;"}
</style>
</head>
<body>
<form>
<p>Area 1</p>
<TEXTAREA NAME="this1" COLS="40" ROWS="3" STYLE="background-color: #f0f0f0; color: #0000ff; font-size: 10pt;">
Some text here</textarea>
<p>Area 2</p>
<TEXTAREA ID="txt" NAME="this2" COLS="40" ROWS="3">
Some text here</textarea>
</form>
</body>
</html>
Mar 11 '08 #1
Share this Question
Share on Google+
2 Replies


drhowarddrfine
Expert 5K+
P: 7,435
It works for me. .
Mar 11 '08 #2

Expert 100+
P: 1,892
Not seeing a problem although you have some mixed CAPS in your tags change those to lowercase.
Mar 11 '08 #3

Post your reply

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