Results 1 to 2 of 2

Thread: Setting Font For Javascript Table

Hybrid View

  1. #1
    Join Date
    Apr 2012

    Question Setting Font For Javascript Table

    Hi, All;

    I am painfully new to Javascript, and I am having a terrible time trying to set the font of a page I just put together. The page is at http://putnamvillebaptistchurch.org....e&sortdir=desc . I would like to change the font face and size, but having tried everything I can think of, I would really appreciate your help!


  2. #2
    Join Date
    Aug 2010
    San Diego
    It's best to use CSS to set fonts. The simplest way to set the font for everything is to use an inline style on the body tag:

    HTML Code:
        style="font-family:Helvetica, Arial, sans-serif;">
    To set different fonts for different things within the body isn't hard but you'd have to delve more into CSS and change the JavaScript to add classes to the generated HTML.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center