PDA

View Full Version : Styles


darkforcesjedi
06-25-2002, 11:41 PM
How can I change the bold, italic, or underline of text without changing its className. e.g. something that works like:
obj.fontBold = true

jkd
06-25-2002, 11:54 PM
obj.style.fontStyle = 'italic';
obj.style.fontWeight = 'bold';
obj.style.textDecoration = 'underline';

:)

darkforcesjedi
06-26-2002, 01:45 AM
Yeah...I realized that about a minute after I put up the post. Thanks for the help though.