Web Analytics Made Easy -
StatCounter Styles - CodingForum

Announcement

Collapse
No announcement yet.

Styles

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Styles

    How can I change the bold, italic, or underline of text without changing its className. e.g. something that works like:
    obj.fontBold = true

  • #2
    obj.style.fontStyle = 'italic';
    obj.style.fontWeight = 'bold';
    obj.style.textDecoration = 'underline';

    jasonkarldavis.com

    Comment


    • #3
      Yeah...I realized that about a minute after I put up the post. Thanks for the help though.

      Comment

      Working...
      X