CodeVerge.Net Beta


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

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: NewsGroup Date Entered: 11/16/2006 10:45:54 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 70 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
JimmyHansson
Asp.Net User
AspNet-Menu-Leaf a:hover problem11/16/2006 10:45:54 AM

0/0

Hi, I'm wondering if anyone could help me out on this issue. I have stripped down my menu to identify the problem and only have simple positioning rules left in my MenuStyle.css. I have identified that the problem is the .VccMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover rule.

.VccMenu

ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
{
color:#FFFFFF;
background: transparent;
}

The problem is that when I hover over a menu leaf item the menu adds about 2 pixels on the bottom of the a tag. If I take away the background:transparent rule and only use the color rule there is no problem. But as soon as I use a rule other than color on a:hover (background, cursor o.) there is this anoying extra 2 pixels when hovering over a leaf item. It, doesn't matter if the a:hover rule is under AspNet-Menu-Leaf, as long as there is one and it contains anything other than a color rule, the problem arises. The problem only applies to IE (6) and only if the leaf item is "alone". If there are 2 leaf nodes it also works fine.

 Has anyone experienced the same, or have a solution for this?

Rasetti
Asp.Net User
Re: AspNet-Menu-Leaf a:hover problem11/16/2006 9:25:23 PM

0/0

Jimmy,

Are you, in the other css rules, defining margin or padding to any li element? Can you publish your full css rules?

Cheers,

Juan
 


Juan Barrera
MCTS


Please remember to click "Mark as Answer" on this post if it helped you.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007

Web:
asp.net menu control display problem in IE7 - ASP.NET Forums AspNet-Menu-Vertical ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover ... It is very hard to us to guess what caused your problem only by viewing ...
.AspNet-Menu-Selected Problems - ASP.NET Forums AspNet-Menu-Leaf a, .SimpleEntertainmentMenu li.AspNet-Menu-Leaf span ... AspNet -Menu-Hover li.AspNet-Menu-Hover span, ...
CSS Friendly Control Adapters - Discussions AspNet-Menu-Leaf span { background-image: none !important; } .MainMenu li:hover a, /* hovered text */ .MainMenu li:hover span, .MainMenu li. ...
Download free ASP templates - Free ASP Templates. AspNet-Menu li.AspNet-Menu-Leaf a:hover { background-image: none; } /* --------- ----------------------------------------------------------------- */ /* When ...
View Differences PrimaryMenu li.AspNet-Menu-Leaf span +{ +} + +.PrimaryMenu li:hover a, /* hovered text */ +.PrimaryMenu li:hover span, +.PrimaryMenu li.AspNet-Menu-Hover a, ...
CSS Friendly Control Adapters - Discussions AspNet-Menu li.AspNet-Menu-Leaf a:hover. {. /*background-image: none;*/. } . ArabicVerMenu .AspNet-Menu-Horizontal. {. position: absolute;. left: 9.5em; ...
Experts Exchange Search Results Hi, I have a menu using an unordered list and want the hover color of ...




Search This Site:










exception has been thrown by the target of an invocation

how do i install dnn 4.0 so that vwd express will recognize it?

mscorsvr.dll!getassemblymdimport+0x15172

admin screens really wide

dnn 3.0.5 - let hundreds of users beta test your dnn 3 module

switching from access to sql

account sharing detection / prevention

content replication - web services

3.0.8 portal alias bug?

help with solpartmenu

suggestions and experience with isp hosting services?

how to fix it?

freetextbox 3.1.1 reflecting current skin stylesheet definitions

database not created properly

changing a 1.x module to a 2.x module

dotnetnuke.httpmodules.urlrewritemodule.onbeginrequest

dnn licensing: opensource, sharedsource or what ??

ad hoc query module

cmdwizard is already used by another control

rss feed entire forum

help! change default folder (instead of root)

exceptions in dnn 3.0.13

banners module

dnn 3.0.5 beta - rte image issue

dotnetnuke 4.0 - add page function doesn't work

dnn & asp.net 2.0's master pages...

rss and dnn secured pages

open banners in new window

3.1.1: html/text module permission problem

bug in image module (dnn 10e)

  Privacy | Contact Us
All Times Are GMT