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

[Solved] Cant get rid of 1px border

3 Answers 118 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Matthew Bishop
Top achievements
Rank 1
Matthew Bishop asked on 02 Apr 2009, 06:15 AM
Hey Im trying to get rid of the 1 pixle border around the root level of the RadMenu but I'll be buggered if I can get it to go away.

I thought it would have been:
 .RadMenu_Web20 .rmHorizontal .rmSeparator .rmText,
.RadMenu_Web20 .rmVertical .rmHorizontal .rmSeparator .rmText
{
 height: 22px;
 margin: 1px 0 0;
 width: 1px;
}

or

.RadMenu_Web20 .rmRootGroup
{
 border: 1px solid #6788be;
 background-color: #93b4df;
}

but changing them doesnt seem to make any difference. Does anyone know the cssclass name that I have to override?

Cheers in advance,
Matt

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 02 Apr 2009, 07:43 AM
Hi,

Since the skin definitions will override any additional css classes, you will need to put an !important keyword to the corresponding styles in order to take precedence in rendering. Give a try with following CSS and see whether it working fine.

CSS:
<style type="text/css">  
.RadMenu_Web20 .rmRootGroup  
{  
     border0px #6788be !important;  
     background-color#93b4df !important;  
}  
</style> 

Thanks,
Princy.
0
Matthew Bishop
Top achievements
Rank 1
answered on 02 Apr 2009, 07:50 AM
Cheers Princy, I should have remembered that.... :/
0
Candace Sweigart
Top achievements
Rank 1
answered on 25 Jul 2009, 04:25 AM
Sweet!  Thanks for the tip...very helpful.
Tags
Menu
Asked by
Matthew Bishop
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Matthew Bishop
Top achievements
Rank 1
Candace Sweigart
Top achievements
Rank 1
Share this question
or