|
Rank: Newbie Groups: Member
Joined: 6/8/2007 Posts: 5
|
I need help loading an existing css file and aplying the class to a menu
This is the menu
<eo:Menu runat="server" ID="Menu1" Width="100%" ControlSkinID="None" ClientSideOnItemClick="OnMainMenuItemClick" CssFile="/EXIexplorer/Estilos/Defecto/Estilo.css">
and i tried loading the class in the default menu item
<LookItems> <eo:MenuItem NormalStyle-CssClass="navegador" HoverStyle-CssClass="navegador" ItemID="_Default"> ... </LookItems>
I haven't found any source code for this in your demo software, you use almost everything css-text, though there is an example with css-block.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi Ariel,
Your code looks fine to me. Please check the case of the CSS classe names and the path of your CssFile. You can also try to copy the css class into your .aspx file and see if that works. If that works, then the problem lies on the CSS include part. If that does not work, please attach a sample project demonstrating the problem and we will take a look.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 6/8/2007 Posts: 5
|
eo_support wrote:Hi Ariel,
Your code looks fine to me. Please check the case of the CSS classe names and the path of your CssFile. You can also try to copy the css class into your .aspx file and see if that works. If that works, then the problem lies on the CSS include part. If that does not work, please attach a sample project demonstrating the problem and we will take a look.
Thanks Thanks for your help, I found a way to solve the problem, in css file i had to change a bit to make it work. Like the following td.navegador { style here } and that worked just fine.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
I see. Thanks for the update.
|
|