Results 1 to 2 of 2

Thread: 2 columns of Animated Collapsible Div V2.01

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

    Question 2 columns of Animated Collapsible Div V2.01

    1) Script Title: Animated Collapsible Div V2.01

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm

    3) Describe problem: I put two columns of collapsible divs on a testimonials page for a website I am building, but when I open a div in the left hand column the divs below move down like they are suppose to, but those in the right hand column move too. Is there a way to make the two columns of divs act independently from one another so opening a div in the left column doesn't affect the right column and visa-versa? This is my first post so if there is anything else I should be doing don't hesitate to let me know.

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

    Default

    You can try using two DIVs to create the 2 columns, floated left so they appear side by side by independent of each other's height. Something like:

    Code:
    <div style="width: 49%; float: left">
    Left column stuff here...
    </div>
    
    <div style="width: 49%; float: left">
    Right column stuff here...
    </div>
    
    <br style="clear: left" />

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    coombsie6 (07-24-2008)

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
  •