?
Solved

how put color in   hr and textbox

Posted on 2001-09-15
11
Medium Priority
?
336 Views
Last Modified: 2010-04-09
hi i want to put color in textbox and hr
and ­ is not working in ie
0
Comment
Question by:tarun209
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 1

Author Comment

by:tarun209
ID: 6484571
plz help me
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6484592
are you using a style sheet or want to do it inline?


Try this for your hr:

<hr color="#FF0000">

And what exactly do you want to color in the text box?  The text?  The backround??
0
 
LVL 7

Accepted Solution

by:
ClassyLinks earned 100 total points
ID: 6484605
<FORM>
<TEXTAREA rows="10" cols="50" style="background-color:#000000>
</TEXTAREA>
</FORM>
0
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
LVL 1

Expert Comment

by:baltman
ID: 6484765
ClassyLinks is right, although the coloring of the textbox will not work in Netscape. If I recall correctly, there is no way to modify the color of a textbox in Netscape.

To add to ClassyLinks HR code:
<HR NOSHADE COLOR="#FF0000" WIDTH="50%">

This will create a horizontal rule without shade (like a single straight line), color Red, and half of the abailable width.
Again, this is not intended as an answer, the credit should go to ClassyLinks, if ever....just a suggestion...

BA
0
 
LVL 2

Expert Comment

by:TenTonJim
ID: 6486660
also, to trick the sorry browser...oops I mean Netscape 4.x into creating a colored phony <hr> create a dummy table and color it:

<table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#0000FF">
<tr>
<td width="100%"><img src="spacer.gif" width="1" height="2"></td>
</tr>
</table>

This would create a 2 pixel high blue line that works even in NS4.x for an example see http://artifexbid.com (my day job) they have green "<hr>" tags all throughout the site that are cross browser (actually are tables).

Classylinks covered the <textarea> answer, no love for that in NS4.x


Jim S.
0
 
LVL 2

Expert Comment

by:udnimbalkar
ID: 6513548
check this for ie

<html>
<style>
hr { color: red}
input { background:blue}
</style>
<body>
<hr>
<input>
</body>
</html>
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6694892
This question has been abandoned.  I will make a recommendation to the
moderators on its resolution in a week or two.  I appreciate any comments
that would help me to make a recommendation.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6714270
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
Points to ClassyLinks

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6715353
Thanks Cd&  ;)
0
 
LVL 1

Expert Comment

by:Computer101
ID: 6716520
Comment from ClassyLinks accepted as answer.

Thank you
Computer101
Coommunity Support Moderator
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6717690
Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question