Solved

how put color in   hr and textbox

Posted on 2001-09-15
11
328 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
11 Comments
 
LVL 1

Author Comment

by:tarun209
Comment Utility
plz help me
0
 
LVL 7

Expert Comment

by:ClassyLinks
Comment Utility
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 25 total points
Comment Utility
<FORM>
<TEXTAREA rows="10" cols="50" style="background-color:#000000>
</TEXTAREA>
</FORM>
0
 
LVL 1

Expert Comment

by:baltman
Comment Utility
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
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 2

Expert Comment

by:udnimbalkar
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks Cd&  ;)
0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
Comment from ClassyLinks accepted as answer.

Thank you
Computer101
Coommunity Support Moderator
0
 
LVL 7

Expert Comment

by:ClassyLinks
Comment Utility
Thanks!
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now