Results 1 to 2 of 2

Thread: Styles in Switch Content Script

  1. #1
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Styles in Switch Content Script

    Switch Content Script
    http://www.dynamicdrive.com/dynamici...tchcontent.htm

    When I put non-expanding text between several items that I want to expand and contract, I lose my style sheet formatting in the text between the <div> </div> sections. How can I be sure that the inserted text and all of the text that will be expanded follow my stylesheet formatting?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    This script doesn't actually rewrite or alter any of your style definitions other than the "display" property to contract/expand elements, so I don't see why you would lost any stylesheet formatting. If you have a URL to the problem, please post it.

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
  •