Skip navigation
Currently Being Moderated

Tabbed Panels Height

Feb 12, 2013 11:51 AM

My tabbedpanel is located inside of an apdiv. I have set the height and width to both auto, as well as trying to set both at 500px like the apdiv it is in. Either way the tabbed panels is too long for the ap div. It never stays in the apdiv. Thank you in advance!

 
Replies
  • Currently Being Moderated
    Feb 12, 2013 12:10 PM   in reply to Giants&Knicks

    Short answer:  Don't use APDivs as containers.  Use Divs with default positioning (static or unspecified).

     

    Long Answer:  APDivs remove content from normal document flow and unnecessarily restrict how much content can fit inside them.  Height should always be determined by content; not explicit height values.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 12, 2013 12:30 PM   in reply to Giants&Knicks

    Without seeing the actual code, it's hard to say what's going wrong exactly.

     

    Could you post a link to your site?

     

    APDivs (css position:absolute divs) are by far and away the worst thing you can use to layout your website in DW. The vast majority of the time there is no need to deal with all of the inherant problems they bring to the party.

     

    While the problems are not technically "errors" in how the position:absolute is supposed to work, a lot of their functionality is counter to the expected and takes a fair amount of research and understanding to get an APDiv based layout to function the way a designer would like.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 12, 2013 12:33 PM   in reply to Giants&Knicks

    APDivs are a newbie trap.  Here's why they don't work well.

    http://www.apptools.com/examples/pagelayout101.php

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 13, 2013 8:43 AM   in reply to Giants&Knicks

    Well then you get to live with what you created in the time you can afford! Not meant to be overly snarky but that's reality sometimes - you have to sometimes live with the imperfect until you have time to fix it.

     

    When you're ready to fix it, do an internet search on 1). The CSS box model, 2). CSS Positioning 3). Floats and Clears. And then read up and practice what you learn.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points