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

[Solved] Skin css overridden by default css?

2 Answers 111 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 22 Jun 2009, 06:12 AM
Hi

We have a problem with one of our sites, where we are building the menu from codebehind, using images:

myMenuItem.ImageUrl =

"~/Images/" & intTraderID & "/" & strImage

 

myMenuItem.HoveredImageUrl =

"~/Images/" & intTraderID & "/" & strRollover

 

myMenuItem.Text =

""

The menu has a custom skin applied before the items are added:

 

mnMenu.Skin = strMenuSkin

mnMenu.EnableEmbeddedSkins = bUseTelerik

 

Thi sall worked perfectly well until we upgraded to the latest release, but now the menu displays a margin around each image.

Using fiirebug, it looks to me like the css for the skin is being overridden by the default skin - is this correct? If so, is there a workaround? I have tried applying the page skin to each element as it is created, and also setting the skin after adding the items, but it makes no difference.

Is there something I have missed?





 

2 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 22 Jun 2009, 01:22 PM
Hi Rob,

Could you please provide a live URL where the problem can be observed?

Thanks,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rob
Top achievements
Rank 1
answered on 22 Jun 2009, 11:31 PM
I am travelling intersatate for the next couple of days, but I'll set something up for you when I get back.

Cheers

Rob
Tags
Menu
Asked by
Rob
Top achievements
Rank 1
Answers by
Paul
Telerik team
Rob
Top achievements
Rank 1
Share this question
or