Reply
Adding CSS style to an ASP 2.0 Menu -
Old 03-25-2006, 12:19 AM Adding CSS style to an ASP 2.0 Menu -
Skilled Talker

Posts: 63
Can anyone please tell me how to add css style to a menu in asp 2.0?
freehelp is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-25-2006, 04:58 AM Re: Adding CSS style to an ASP 2.0 Menu -
chrishirst's Avatar
Super Moderator

Posts: 11,466
Location: Blackpool. UK
just add the classes/IDs in the appropriate places


other than that your question is simply too vague to give any kind of useful answer
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-05-2007, 05:22 PM Re: Adding CSS style to an ASP 2.0 Menu -
Junior Talker

Posts: 1
Quote:
Originally Posted by chrishirst View Post
just add the classes/IDs in the appropriate places


other than that your question is simply too vague to give any kind of useful answer
Firstly, just add the classes and IDs where exactly?
Class is not an acceptable property for a menu item, so your answer is far more vague than the question.

Let's get precise:
When adding the property tag CssClass into .NET asp:menu tag, it just doesn't work. The styles expressed in the included CSS do not get applied.

The question I believe he is asking is that asp:menu components exposed style properties do not work in Internet Exploder 6.0, so how does one control the style of the asp:menu component using a CSS sheet.

As explained previously, the link and hover styles just don't apply when the CssClass is assigned.
omayhemo is offline
Reply With Quote
View Public Profile
 
Old 02-08-2007, 05:57 PM Re: Adding CSS style to an ASP 2.0 Menu -
Average Talker

Posts: 25
Location: Seattle, WA
The Cssclass can be applied to the StaticMenuItemStyle-CssClass or DynamicMenuItemStyle-CssClass

You can apply different styles to the menu that stay open and menu that pops out
kbychu is offline
Reply With Quote
View Public Profile
 
Old 02-18-2007, 11:15 AM Re: Adding CSS style to an ASP 2.0 Menu -
Average Talker

Posts: 15
You may be interested in the following which is a ASP.NET 2.0 CSS Friendly Control Adapters. It uses divs instead of tables. http://www.asp.net/CSSAdapters/

Last edited by Joseph James : 02-18-2007 at 11:17 AM.
Joseph James is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Adding CSS style to an ASP 2.0 Menu -
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12435 seconds with 13 queries