Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS OrganicTabs – how to define specific height?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35952
    ajtbar
    Participant

    How can a specific height be defined with OrganicTabs? We would like the height to remain the same regardless of what tab the user is viewing.

    https://css-tricks.com/organic-tabs/

    Thanks!

    #93939
    ajtbar
    Participant

    Please clarify what you are asking —

    #93969
    Mottie
    Member

    Hiya!

    Actually it’s easier than it appears. All you need to do is set the height of each UL inside of the list-wrap to be the same height – here is the demo, and the extra css needed:

    #example-one .list-wrap ul { height: 320px; }

    Just change the ID (#example-one) to match your organic tabs wrapper.

    #94016
    Chris Coyier
    Keymaster

    Not to be difficult, but the “whole point” of organic tabs is the height adjustment thing. It’s probably not a good fit if you don’t need that. You’d just write some simple JS to hide/show divs with fixed heights.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.