Click to See Complete Forum and Search --> : Bold some text


alfoxy
03-12-2003, 06:03 AM
Hey all,
I was wondering if some one could help me with my problem, basically i want to change a piece of text to bold when a link is clicked. I can do face, color and size using say onClick="testtext.color='#FFCC00'", but i dont have any idea about bolding it !?!
Any help would be great
Thanks

skriptor
03-12-2003, 06:16 AM
Hi,
try testtext.font-weight='bold'
Good luck, skriptor

alfoxy
03-12-2003, 06:42 AM
thanks but that gives a syntax error
any other ideas ?

alfoxy
03-12-2003, 07:05 AM
i found it its testtext.style.fontWeight='bold'
Thanks scriptor fo rpointing me in the right direction