Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > CSS and Menu WebControl

Reply
Thread Tools

CSS and Menu WebControl

 
 
bfking
Guest
Posts: n/a
 
      08-02-2007
in my ASP.NET sites i use themes w/ a CSS file. in the CSS file i set
A:link, A:visited, A:hover and A. if i want a link to be different i
can set the style att of the link to override. however when using a
Menu control i can't do this. i try setting the ForeColor of a Menu
Item to a different color but it creates a local CSS class and assigns
that class to the A tag. apparently the A style is applied after the
local classes are applied.

is there anyway to tell the Menu control (and only the menu control.
i want the rest of the page to use the CSS file so i can't just remove
the theme) to not use the CSS file or anyway to remove the formatting
from those links so the control can format the rendered html?

thanks in advance for any help you can provide

bk

 
Reply With Quote
 
 
 
Reply

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom webcontrol that references another webcontrol Fabricio ASP .Net Building Controls 0 09-21-2005 02:55 AM
Trapping an Exception ocurring in a Webcontrol at the Page or parent WebControl level. ASP .Net 2 01-31-2005 06:34 PM
WebControl inside of WebControl and attaching events Kasabaarde Sumta ASP .Net Building Controls 0 12-13-2004 09:51 PM
WebControl with non-WebControl property Peter Morris [Air Software Ltd] ASP .Net Web Controls 1 12-07-2004 12:25 PM
Can a webcontrol (webcontrol.dll) have a configuration file? Luis Ramírez. ASP .Net Building Controls 2 07-06-2004 04:35 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57