Welcome Guest Search | Active Topics | Sign In | Register

CSS Style from file Options
Ariel Pascualini
Posted: Friday, June 8, 2007 1:35:22 PM
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.
eo_support
Posted: Friday, June 8, 2007 1:42:29 PM
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
Ariel Pascualini
Posted: Monday, June 11, 2007 5:58:21 AM
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.
eo_support
Posted: Monday, June 11, 2007 7:01:45 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
I see. Thanks for the update.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.