CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/20/2006 1:55:27 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 52 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
nethiel
Asp.Net User
Menu control - how to ignore hyperlink styles9/20/2006 1:55:27 AM

0/0

My Menu control links turn purple like hyperlinks.  I have tried alot of style combinations but the base IE hyperlink style always is getting applied WHEN LINK IS NOT VISITED (when visited they turn white).  Any suggestions?

<asp:Menu ID="Menu1" runat="server"

Height="60px" CssClass="FullMenuClass"

Orientation="Horizontal" Width="100%" DataSourceID="SiteMapDataSource1" MaximumDynamicDisplayLevels="1" StaticSubMenuIndent="" ItemWrap="True">

<StaticMenuStyle Height="55px" />

<StaticMenuItemStyle Width="120px" ForeColor="White" CssClass="MenuItemStyleClass" HorizontalPadding="20px" />

<StaticSelectedStyle ForeColor="Black" CssClass="SelectedMenuStyleClass" />

<StaticHoverStyle CssClass="HoverMenuItemStyleClass"/>

</asp:Menu>

.MenuItemStyleClass

{

text-align:center;

}

.FullMenuClass

{

color:Green;

font-size:19px;

font-weight:bold;

vertical-align:bottom;

}

.HoverMenuItemStyleClass

{

border-bottom-style:solid;

border-bottom-width:thin;

border-bottom-color:White;

}

.SelectedMenuStyleClass

{

background-color:#A5CBF0;

background-repeat:no-repeat;

/*

background-image:url(Buttonized_Horiz_Bar.JPG);

*/

font-size:31px;

}

nethiel
Asp.Net User
Re: Menu control - how to ignore hyperlink styles9/21/2006 2:14:49 AM

0/0

Hey guys,

I'm really stuck on this problem and tried messing around with every possible Menu Control propery, style.   The links still are changing colors and I'm under a deadline to solve this.  Do you know of any hacks to stop this?

 

ReyN
Asp.Net User
Re: Menu control - how to ignore hyperlink styles9/21/2006 12:09:25 PM

0/0

hi

you can set the CSS pseudo-classes to something like

a:link, a:visited {
   color:#005 }

but note that that will apply the style to ALL links on the page, not just to your menu links.

to be more specific, you can do that with your menu CSS classes, like

.className a:link, .className a:visited {
   color:#005 }
see Pseudo-Classes and Other Attributes

Reynald V. Nu?ez
aspxtreme
nethiel
Asp.Net User
Re: Menu control - how to ignore hyperlink styles9/23/2006 3:21:28 AM

0/0

Thank you for helping.  You seriously just saved me.Wink
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Using Microsoft Office XP Authors: Ed Bott, Woody Leonhard, Pages: 1158, Published: 2001
Real World Adobe Indesign Cs2: Industrial-strength Page-layout Techniques Authors: Olav Martin Kvern, David Blatner, Pages: 867, Published: 2006
QuarkXPress 5 for Macintosh and Windows: Visual QuickStart Guide Authors: Elaine Weinmann, Peter Lourekas, Pages: 498, Published: 2002
Pro Ajax and the .NET 2.0 Platform Authors: Daniel Woolston, Pages: 463, Published: 2006
Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter Kit: visual web developer 2005 express edition starter kit Authors: David Sussman, Alex Homer, Pages: 312, Published: 2005

Web:
Menu control - how to ignore hyperlink styles - ASP.NET Forums Re: Menu control - how to ignore hyperlink styles. 09-20-2006, 10:14 PM. Contact ... Re: Menu control - how to ignore hyperlink styles ...
Server Control Templates use it to store hyperlink data in all our menu examples. ..... an image control for the separator template, and edit the style for the template in the ...
TheMSsForum.com >> MFC >> Hyperlink in my Dialog control - The ... How do I control the MRU list ? Is it possible to tell my app to add only file of one type and to ignore the other file types ? 10x, J. Tag: Hyperlink in my ...
LEARN MS-ACCESS TIPS AND TRICKS: Open Forms with Hyperlinks in Listbox Shortcut Menu and pointing to it will display the Edit Hyperlink option, .... Now, open the Control Form in design View. Select Tile Vertically from the ...
Microsoft Content Management Server 2002 Connector for SharePoint ... MCMS Template Hyperlink Style Does Not Display Correctly ... SharePoint. WebControls appears with a warning icon. You can ignore this warning. ...
SuperMemo: Component menu Note that it is far easier to create hyperlinks using the Hyperlink option above ; Style - select a stylesheet from the stylesheet registry to use with an ...
MS Word 2003 Tips & Shortcuts for Research Papers From the pop-up menu choose Hyperlink > Remove Hyperlink. [If you don't see Remove Hyperlink as an option, first choose Ignore. Then right-click again and ...
ASP.NET Menu Server Control - UltimateMenu UltimateMenu Server Control. UltimateMenu is a web control for ASP.NET. ... such as "style='color:orange;' target='_blank'", which will affect all hyperlink ...
Smart Computing Article - Write In Style A context menu displays. The choices include Replace Direct Formatting With Style X (where X is Word's suggested replacement), Ignore Once to disregard the ...
p2p.wrox.com Forums - The html rendered by controls... I never use the Menu control -- it just plain sucks. ... On the BulletedList control, set the DisplayMode to "HyperLink", set the DataSourceID to the ID of ...




Search This Site:










why no transparency?!

asp.net

window app style menus at the top

sitemappath control and showstartingnode="false" behavior

passing parameter from one user control to another

find all div ids on a master page

master pages, styles and ids

how to access master page datalist from a content page ?

defaultbutton for panel? webform uses masterpage.

treeview - getting selected node from content page

protected sub page_load and public readonly property

'unable to cast object of type' error

non-static metadata using master pages?

redirect problem in master page

treeview

is there a way to hide a menu item?

master page menus and content page controls

how do you change the border color when mouse hover over a linkbutton?

theme & cookie

looking for a better menuadapter implementation, because the default ain't finished.

classic theme...

treeview and populateondemand - do enableclientscript, populatenodesfromclient work?

dynamic theme control in (mobile) web site (vs2.0)?

tree view

sitemappath - formatting 'visited' links

how to access the root master page if master pages are nested?

sitemapprovider cannot be found

sitemappath for edit and insert

help with treeview (asp.net 2.0)

is there a sample masterpage themes gallery

  Privacy | Contact Us
All Times Are GMT