Hi All
I'm not sure if I should be posting this here or on a HTML forum but here goes.
I've been pulling my hair out for a day now trying to solves this.
I'm customizing the main_top.html page to create a basic dashboard. My dashboard consists of 3 mydbr elements. The elements all work correctly. The layout is as follows:
A mydbr.tab element followed by 2 mydbr charts. I call the the mydbr.tab element using the html <object> tab and the charts using the <imgX> tags.
The layout problem I'm having is with controlling the height of the mydbr.tab element. Each tab have a different number of rows returned so is variable height. What I'm hoping to do is to set a min-height in a div and when a tab is select with a greater number of rows then the height of the div is automatically increased to cater for this and push the divs containing the charts images down the page. And conversely when a tab is subsequently selected with a fewer number of rows the mydbr.tab div shrinks again pulling the img divs back up the page.
I've tried numerous style attributes such as overflow:hidden, min-height etc but nothing seems to work. I've also tried styling the <object> tags with the same attributes but with no luck. I've only been able to get anything that looks right by explicitly setting the <object> height but once the number of rows is greater that the set height they overflow the tab element and I also get ugly scroll bars.
Also I see by using divs in main_top the mydbr 'Report' folders' layout collapses - instead of being centered they are left positioned. I tried using an empty div with clear:both to clear the floats in my divs.
Many thanks for any help you can give me with this.
Jake