PDA

View Full Version : Bolding Text in a Text Area?



Vamp
10-28-2006, 02:52 PM
<textarea rows="10" cols="50">
1349
13 Candles
45 Grave
Abigor
Abruptum
Absurd
Agalloch
Akira Yamaoka
Amorphis
</textarea>

With that HTML code, is there a way that I can bold certain band names? Putting the <b> </b> tags there don't do anything, it justs looks like
<b>Abigor</b> in the text box.

tesco
10-28-2006, 03:19 PM
not possible, a text area just shows text and html isn't parsed.

Why does this have to be a text area?

tesco
10-28-2006, 03:21 PM
You could try something like:


<div style="height:200px;width:400px;overflow:scroll;background:#FFF;border:1px solid #000;">
<pre>
1349
13 Candles
45 Grave
Abigor
Abruptum
Absurd
Agalloch
Akira Yamaoka
Amorphis
</pre>
</div>

Although you can't edit that from your browser... (If you need to, let me know what you're trying to do and I can come up with something).

Vamp
10-28-2006, 03:41 PM
Well, check my Myspace page at www.myspace.com/vampiricyouth

Under the Music list I have a lot of bands and I'd like to bold the ones that are a step above the rest.

tesco
10-28-2006, 04:10 PM
In that case you don't need a text area so why not use the suggestion i posted above.
You can even edit the background, font color, width, height, etc. to match the rest of the site.