Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2013
    Thanked 0 Times in 0 Posts

    Help with css code for Toggle Accordion

    Im trying to add a Toggle Accordion from this site


    in kompozer under source tab, at the top im trying put in the code they say to put in <HEAD> section. Now I already have code from a different project (pricing tables)that I put at the top, that worked out fine, but now when trying to put in a new code its not working. I have already added the script codes to my website, remember I have done this before with success, but adding another code to the head section is not working for my new project. Here is the code at the moment without the new code inserted. Any advise? Thanks

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     rel="stylesheet" type="text/css"
     media="screen"><script type="text/javascript"
    </script><title>Test</title><!-- DC Pricing Tables CSS --><!-- DC Page Header JS --><!-- DC Lists CSS -->
    <link type="text/css" rel="stylesheet"
     style="text-align: center;"></div><script
     style="color: rgb(51, 51, 255);"
     href="http://tinypic.com/?ref=34gm35h" target="_blank"><big><big><big><big><span
     style="font-weight: bold;"></span></big></big></big></big></a></big></big></big></big></big></big></big></big></big></big></big></big></big></big><div
     style="text-align: center;"><big><big><big><big><big><big><big><big><a
     style="color: rgb(51, 51, 255);"
     href="http://tinypic.com?ref=34gm35h" target="_blank"><big><big><big><big><span
     style="font-weight: bold;"></span></big></big></big></big></a></big></big></big></big></big></big></big></big><br><br><big
     style="font-family: Trebuchet MS;"><big
     style="font-family: Palatino Linotype;">We
    Last edited by VIPStephan; 04-10-2013 at 11:11 AM. Reason: added code BB tags

  2. #2
    Regular Coder
    Join Date
    Feb 2012
    Nebraska, USA
    Thanked 19 Times in 19 Posts
    well you have no closing <body> tag
    you didn't close either of your final <big> tag

    all of your script tags should either go inside of the HEAD tag or at the end of the body tag

    why do you have so many big tags?

    Can you please post a link to the live site where this can be accessed so we can take a look at the rest of the code? Or can you please post the rest of the code (I hope this isn't the entirety of it)


Posting Permissions

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