Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

liHeight: auto doesn't work #1

Open
aoussarmustapha opened this issue May 16, 2013 · 0 comments
Open

liHeight: auto doesn't work #1

aoussarmustapha opened this issue May 16, 2013 · 0 comments

Comments

@aoussarmustapha
Copy link

Hi!
Thanks so much Marco for this jQuery plugin!
This is the best plugin for those who develop applications and website for responsive web design.
But I have an issue with the height.

I have many accordion with the same id:

<!-- Accordion 1 -->
<div id="accordion">
<ul>
<li>
<h1>Heading 1</h1>
<div></div>
</li>
<li>
<h1>Heading 2</h1>
<div></div>
</li>
</ul>
</div>

<!-- Accordion 2 -->
<div id="accordion">
<ul>
<li>
<h1>Heading 1</h1>
<div></div>
</li>
<li>
<h1>Heading 2</h1>
<div></div>
</li>
</ul>
</div>

each accordion has many lists

  • with many contents that changes in height.
    I can not use a fixed height because I have lists
  • with different contents.

    I tried using height: auto:

    cssAttrsHor:{
    ulWidth:"responsive",
    liWidth:100,
    liHeight:auto
    },

    and responsive:

    cssAttrsHor:{
    ulWidth:"responsive",
    liWidth:100,
    liHeight:"responsive"
    },

    but doesn't work, so i tried with css using:

    li {
    height: auto !important;
    }

    and this worked well but only in Google Chrome.

    how can I solve this issue?
    Thank you!

  • Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant