Hi all, i need to fit the Facebook iframe layout that it’s 760px ( they says that ).
This is my app: http://apps.facebook.com/remindapp/ and as you can see Yii layout it’s too large and facebook create horizontal and vertical scrollbar to fix it. Can you help me?
no, your solution destroy the layout. instead of centered, it’s on the left. I need another solution… is there some designer that know how to play with css?
height: 99px; --> the height of the element. If the content renders to a larger height, a vertical scrollbar is displayed. If the overflow:hidden; is added then the content is cut of at the defined height.
max-height: 99px; --> the maximum height of the element. If the content renders to a larger height, a vertical scrollbar is displayed. If the overflow:hidden; is added then the content is cut of at the defined height.
min-height: 99px; --> the minimum height of the element. If the content renders to a larger height, the height is increased to display all content.
So basically if your content exceeds the height of your element, the element will be either enlarged, display a scrollbar or cut of the content.
Play around with these 4 settings to get the results that best matches your wishes.