This is a migrated thread and some comments may be shown as answers.

PanelBar Item Bottom Border

2 Answers 93 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Jacob
Top achievements
Rank 1
Jacob asked on 25 Jul 2011, 07:00 PM
Is there a way to remove the border between the radpanel bars? (Please see attached). I am using Outlook skin on the radPanelBar, and was wondering if there is a way to remove the 1px line shows up right above the radpanelitem.

I tried to manipulate it by using the following css code, but wasn't successful.

.RadPanelBar .rpRootGroup .rpOut
{
    border: 0 !important;
    padding: 0 !important;
}

Thank you.

2 Answers, 1 is accepted

Sort by
0
Accepted
Kate
Telerik team
answered on 26 Jul 2011, 05:34 PM
Hello Jacob,

In fact the border that you are trying to remove comes from the sprite image that is applied to the RadPanelBar control. therefore in order to alter the appearance you can apply the following css class selector that will move the sprite image with 1px and thus removing the border:
div.RadPanelBar_Outlook a.rpLink,
     div.RadPanelBar_Outlook div.rpHeaderTemplate,
      div.RadPanelBar_Outlook a.rpExpanded,
       div.RadPanelBar_Outlook div.rpExpanded,
        div.RadPanelBar_Outlook .rpItem a.rpLinkExpandHovered {
    background-position: 0 -1px;
}

Greetings,
Kate
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Jacob
Top achievements
Rank 1
answered on 26 Jul 2011, 08:39 PM
It worked! Thank you Kate.
Tags
PanelBar
Asked by
Jacob
Top achievements
Rank 1
Answers by
Kate
Telerik team
Jacob
Top achievements
Rank 1
Share this question
or