Advanced Search

Results 1 to 2 of 2

Thread: Document Text Sizer - Not working when substitute "body" with another tag name

  1. #1
    Join Date
    Dec 2005
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Document Text Sizer - Not working when substitute "body" with another tag name

    1) Script Title: Document Text Sizer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex9/textsizer.htm

    3) Describe problem: The instructions say that you can change out ('body',1) with another tag, so I have tried 'p' and then assigned my paragraphs to <p></p>. That did not work, so then I tried the style set of my tables which is td.body so my code looked like this: ('td.body',1) and that still did not work.

    Does anyone know how to change it so it really does work with other tag names? Note the content I want to get larger are in tables and each cell is set to td.body within my code and in the stylesheet. I thought that might be a problem so then I changed them all to <p> and that still didnt work.

    Here's part of my style sheet:

    h1 {color:#00ff00;}
    p.main {color:#333333; font-family:Arial; font-size:11pt; font-style:normal;text-decoration:none;}
    p.footer {color:#333333; font-family:Arial; font-size:7pt; font-weight:normal;}
    p {color:#333333; font-family:Arial; font-size:11pt; font-style:bold;}
    td.body {color:#333333; font-family:Arial; font-size:11pt; text-decoration:none;}

  2. #2
    Join Date
    Dec 2005
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Does anyone know how to edit this properly?

Similar Threads

  1. Replies: 21
    Last Post: 09-23-2013, 02:10 AM
  2. Document Text Sizer using id
    By sosi in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-20-2009, 01:41 PM
  3. Document Text Sizer
    By bassa in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-21-2008, 07:41 AM
  4. Replies: 8
    Last Post: 02-10-2008, 04:37 PM
  5. Document Text Sizer
    By Hermit in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 05-14-2007, 10:55 PM

Bookmarks

Posting Permissions

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