Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The Legend Tag? 1

Status
Not open for further replies.

danima

Programmer
Jan 9, 2002
134
CA
Hi folks:

One of my programmers showed me some work the other day and I noticed that his forms had a really nice box around them with a title nested in the border-line. He told me it was the <fieldset><legend> tag. I like the look of this, however, I've looked it up and can't figure out how to change the border color? You'd think it would be bordercolor= but, that didn't work. Does anybody have a clue on how to manipulate the color of the border around the fieldset?

Thanks again,
Dave
 
You can get the picture from this interesting example:

<fieldset style=&quot;border:1 solid blue; width:250px;height:100px;&quot;>
<legend style=&quot;background-color:red;position:relative;right:250;&quot;>I replace the line</legend>
</fieldset>

Rick if(($question==&quot;has been bugging me&quot;
AND $answer==&quot;fixed the problem&quot;) OR $answer==&quot;really good post&quot;){
print(&quot;Star&quot;);
}else{
print(&quot;Thanks.&quot;);
}
 
Awesome...it all worked perfectly!!!

Thanks a million!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top