This is a migrated thread and some comments may be shown as answers.
Floated elements
1 Answer 17 Views
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 28 May 2012, 07:12 PM
When my tab contains some elements that are floated they appear, however, the tab background is the wrong color because the tab height is 0.
http://jsfiddle.net/RichardAD/h6SLH

Any suggestions on making even floated stuff look like it is in the tab?

1 Answer, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 29 May 2012, 03:50 PM
Hello Richard,

You could resolve the collapsing parent issue as set the CSS property overflow:hidden or overflow: auto to the tabs markup elements. For example: 
<div id='Tab1' style="overflow: auto">

For convenience I updated your jsFiddle example


Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
Richard
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Share this question
or