How does one go about removing the outer container that houses a tab control. I don't want it but don't know the right CSS property to change?
By 'container', I mean the gray box with square corners like: http://demos.kendoui.com/web/tabstrip/api.html
Also, I'm trying to remove the left, right and bottom border from a selected tab (the border around the content housed within tab)
By 'container', I mean the gray box with square corners like: http://demos.kendoui.com/web/tabstrip/api.html
Also, I'm trying to remove the left, right and bottom border from a selected tab (the border around the content housed within tab)
7 Answers, 1 is accepted
0
Hello Gabriel,
Please use the following CSS rules to override the default TabStrip wrapper styles:
Greetings,
Dimo
the Telerik team
Please use the following CSS rules to override the default TabStrip wrapper styles:
div.k-tabstrip
{
background
:
none
transparent
;
border-width
:
0
;
}
div.k-tabstrip .k-tabstrip-items
{
padding
:
0
;
}
div.k-tabstrip .k-content
{
margin
:
0
;
}
Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Gabriel
Top achievements
Rank 1
answered on 05 Jan 2012, 08:26 PM
Thanks.
0

Gabriel
Top achievements
Rank 1
answered on 07 Jan 2012, 05:15 AM
The answer you gave Dimo worked perfectly but I would like to go even further and remove the inner tab containers. The image here: http://imgur.com/4NX7J shows what I'm referring too.
The top image is current, the bottom is what I'd like.
The top image is current, the bottom is what I'd like.
0
Hello Gabriel,
You can use:
These customizations can easily be implemented if you inspect the TabStrip HTML output with Firebug and see which CSS rule is responsible for a given style. Then use a similar CSS rule (with higher specificity, e.g. add a "div" to the selector) to override it.
All the best,
Dimo
the Telerik team
You can use:
div.k-tabstrip .k-content
{
border-width
:
1px
0
0
;
}
These customizations can easily be implemented if you inspect the TabStrip HTML output with Firebug and see which CSS rule is responsible for a given style. Then use a similar CSS rule (with higher specificity, e.g. add a "div" to the selector) to override it.
All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Gabriel
Top achievements
Rank 1
answered on 09 Jan 2012, 10:36 PM
Thanks again Dimo - perfect.
0

Nathan
Top achievements
Rank 2
answered on 31 Mar 2015, 11:41 AM
This no longer works. As soon as you change tabs, the box comes back.
0

Nathan
Top achievements
Rank 2
answered on 31 Mar 2015, 02:08 PM
Never mind, I worked it out:
div.k-tabstrip:focus {box-shadow: none;}
div.k-tabstrip:focus {box-shadow: none;}