View Full Version : Styles in Switch Content Script

07-18-2005, 08:04 PM
Switch Content Script

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?

07-18-2005, 09:20 PM
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.