Forum Moderators: open
Does anyone know of a way that i can display styled text within a text area/box?
say i wanted to write something like this..
<text area>
I am <span class="style1> tearing </span>
my hair out over this <span class="style2">Project</span>
</text>
The text does not get displayed in the relevant styles and all the text gets written to the page.
Anyone know of a workaround to this?
Thanks
Ally
CSS:
.boldtext{
font-weight: bold;
}
.red{
color: red;
}
Works fine make sure you define the text classes in your CSS doc and the first bit you missed a speach mark after style1 class.