Results 1 to 2 of 2

Thread: Horizontal Accordion script: "align" to the right side?

  1. #1
    Join Date
    May 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Horizontal Accordion script: "align" to the right side?

    1) Script Title: Horizontal Accordion script

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

    3) Describe problem:

    How can I "align" the tabs (DIVs) to the right side?

    Because by default all the tabs reside ("align") on the left side, and according to my webpage layout, it would visually be best to make them align to the opposite.

    Edit: I don't know if you can understand me, I mean the tabs pauses on the left side, and I need an opposite effect which have the tabs pauses on the right side. Better check out the demo on DD page in 2) above.

    Should I look into the js file or the css file to achieve this? Any clues will be appreciated!

    I am a student and I fell in love with this website while a friend refer it to me. It's just so great.
    Last edited by scyllar; 05-18-2010 at 12:20 PM.

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

    Default

    Hmm inside the .css file, you might try making the change in red below:

    Code:
    .haccordion li{
    margin: 0;
    padding: 0;
    display: block; /*leave as is*/
    width: 100%; /*For users with JS disabled: Width of each content*/
    height: 200px; /*For users with JS disabled: Height of each content*/
    overflow: hidden; /*leave as is*/
    float: right; /*leave as is*/
    }
    DD Admin

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
  •