I am using xhtmlb:tabStrip to show few tabs and each tab item is holding a iframe loading some page .
The tabstrip item should be to the maximum page height. unlike htmlb:tabstrip there is nothing like body height in xhtmlb.
i tried setting the <xhtmlb:tabStrip height to various values like 100%, 600 , 600px but nothing seems to change the size at all.
Anybody has seen this , got a solution?
Thanks in advance.
Regards
Raja
<b>I have fixed it. it was the height property of the iframe which was causing the issue. i had set 100% as the height of the iframe. But when i changed to px its working as desired.</b>
Message was edited by: Durairaj Athavan Raja
Hallo Raja,
Yes, one should write onto the monitor, never use % values for heights. This is a pitfall into which I have fallen a number of times. Due to the availability of the of a scrollbar, 100% height looses it meaning. THe only thing that really works is px values. If you want to achieve 100%, one idea (that I have not tested), would be to ask the size of the browser window, and then set the pixel height into the tabstrip. This should be relatively easy with Javascript.
bye, brian
Add a comment