Home All Groups Group Topic Archive Search About
Author
2 Feb 2006 12:03 AM
FlyFishGuy
I have searched the planet and I have explored every property of the menu
control and I can't seem to find anywhere how to control this.

I have added a menu control to my master page and when I hover over the
primary entries, the secondary menu items have a shadow that appears, offset
to the lower right. I have NEVER seen this on ANY other menu on ANY web
page. It's ugly, it's white, and I have no control over it.

I have searched my code behind for every instance of  "White" and replace
the color to try and track it down... no luck. I have scoured through MSDN
and searched the web for any clue... no luck. I have gone through every
property of the menu control in the properties window. I'm particularly
frustrated that I don't see this anywhere else and no one has written
anything about it. What the @#$% is going on. I'm at my wit's end.

Please help me to kill this beast.

Author
2 Feb 2006 1:12 PM
DWS
FlyFishGuy,

Two trouble shooting techniques
Examine the html output and look for the attribute "class" appearing before
your menu, maybe a css class is bleeding through into the menu from a higher
level.

In IDE look at the source view for your menu and remove all the formating
attributes.

Good Luck

Show quoteHide quote
"FlyFishGuy" wrote:

> I have searched the planet and I have explored every property of the menu
> control and I can't seem to find anywhere how to control this.
>
> I have added a menu control to my master page and when I hover over the
> primary entries, the secondary menu items have a shadow that appears, offset
> to the lower right. I have NEVER seen this on ANY other menu on ANY web
> page. It's ugly, it's white, and I have no control over it.
>
> I have searched my code behind for every instance of  "White" and replace
> the color to try and track it down... no luck. I have scoured through MSDN
> and searched the web for any clue... no luck. I have gone through every
> property of the menu control in the properties window. I'm particularly
> frustrated that I don't see this anywhere else and no one has written
> anything about it. What the @#$% is going on. I'm at my wit's end.
>
> Please help me to kill this beast.
>
>
>
Author
3 Feb 2006 9:13 PM
FlyFishGuy
Thanks for the tips.

I've stripped all formatting from the menu control, and I still have the
backshadow effect. It appears to be bleeding through, as you suggested, but
I can't track it down.

The control is on a master page, and all Classes on that page and the child
pages are nothing more than basic text formatting, with the exception of
styles that ASP.NET seems to be generating for that control (visible only
when the control is rendered to the browser).

I'm not a style sheet expert, but I can't even see how this style would be
defined. This is a crude text representation of what I see when a
SubMenuItem is dynamically popped out to the right...

_____________
  menu item        |_
_____________|  |
  |_____________| <--- shadow

I hope the font renders it for you as I intend.


This is the style info that is rendered for the control (with all formatting
removed from the source)...

<style type="text/css">
.ctl00_Menu1_0 {
background-color:white;visibility:hidden;display:none;position:absolute;left:0px;top:0px;
}
.ctl00_Menu1_1 { text-decoration:none; }
.ctl00_Menu1_2 {  }
</style>

I can remove all other classes except for these, which ASP.NET generates for
me, and I still have the same visual effect.

Thanks

Show quoteHide quote
"DWS" <D**@discussions.microsoft.com> wrote in message
news:11C64D33-82A9-464F-9FEB-6D0DE916EAAA@microsoft.com...
> FlyFishGuy,
>
> Two trouble shooting techniques
> Examine the html output and look for the attribute "class" appearing
> before
> your menu, maybe a css class is bleeding through into the menu from a
> higher
> level.
>
> In IDE look at the source view for your menu and remove all the formating
> attributes.
>
> Good Luck
>
> "FlyFishGuy" wrote:
>
>> I have searched the planet and I have explored every property of the menu
>> control and I can't seem to find anywhere how to control this.
>>
>> I have added a menu control to my master page and when I hover over the
>> primary entries, the secondary menu items have a shadow that appears,
>> offset
>> to the lower right. I have NEVER seen this on ANY other menu on ANY web
>> page. It's ugly, it's white, and I have no control over it.
>>
>> I have searched my code behind for every instance of  "White" and replace
>> the color to try and track it down... no luck. I have scoured through
>> MSDN
>> and searched the web for any clue... no luck. I have gone through every
>> property of the menu control in the properties window. I'm particularly
>> frustrated that I don't see this anywhere else and no one has written
>> anything about it. What the @#$% is going on. I'm at my wit's end.
>>
>> Please help me to kill this beast.
>>
>>
>>