Hi All, I have added pre-loaded text to a forms text field, but need to format the text. I have tried straignt HTML but it doesnt seem to have an effect? Can anybody advise on how to do this? Thank you.
its a bit hard to say without seeing your code... post up the bit of code (form field) you want to change and we can help you out more.
Here is the code I am currently using: <textarea class="input-text" name="customer_notes" cols="45" rows="26" style="width: 100%;"> Here is the text for the form. And here is a seperate line. </textarea> I would like the text to be in red. Any ideas?
<textarea class="input-text" name="customer_notes" cols="45" rows="26" style="width: 100%; color: #ff0000; font-weight: normal;"> Here is the text for the form. And here is a seperate line. </textarea> HTML: That should do the trick It is nicer if you put stuff like this in a css file
Its easy :S If you're using dreamweaver 8. Click on the box, click on new css rule in the css panel, if you've clicked on the box correctly it will auto select an advanced function with correct css operator, click ok then change it.