asp:menu graphical bug in IE

S

seo

Hi everyone,

I'm getting an graphical error when using the asp:menu control. Check
out this screenshot:
http://www.connexion.at/downloads/asp-menu.gif

The page uses doctype xhtml 1.0 transitional.

IE produces some white space to the right of the drop down menus.
Firefox doesn't. How can I avoid that?

Any ideas?

Thanx in advance,

Stevo
 
S

seo

Hi,

I used a skin File to assign the look. Here's the content of the skin
File:

<asp:Menu runat="server"
BackColor="#10884B"
DynamicHorizontalOffset="0"
Orientation="Horizontal"
StaticDisplayLevels="2"
ForeColor="#FFFFFF"
DynamicVerticalOffset="0"
StaticSubMenuIndent="0"
StaticEnableDefaultPopOutImage="false"
DynamicEnableDefaultPopOutImage="false">
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="5px"
/>
<DynamicHoverStyle BackColor="#14A65A" ForeColor="White" />
<DynamicMenuStyle BackColor="#10884B" />
<StaticSelectedStyle BackColor="#14A65A" />
<DynamicSelectedStyle BackColor="#14A65A" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="5px"
/>
<StaticHoverStyle ForeColor="White" />
</asp:Menu>

I'm loading it with the following code:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
</asp:Menu>

That's all. Nothing special I think.
 
S

seo

I found out what went wrong:

The css of the menu collided with mine.

Everything looks the way it shoud now.
 
G

Guest

Hey, can you tell me what you found out? I can't figure this one out (there
are so many places with so many settings). I know I'm having the same
problem, since it went away when I removed the CSS file. My are showing down
AND to the left, almost like a drop shadow.

I also can't get the dynamic menus to go transparent, but that's another
problem.

If you could point me in the right direction on the white space, that'd be
great.

TIA

Bill
 
G

Guest

Oh, never mind. I found it. It was in the border section and the padding.
Didn't think that would affect menus, but it did!

thanks for the trail of crumbs. :)
 
Joined
Apr 14, 2008
Messages
2
Reaction score
0
Please help

Could you detail the parameters for the border and padding you changed to get rid of the white shadow problem.
Thanks
 
Joined
Apr 14, 2008
Messages
2
Reaction score
0
Could you detail the parameters for the border and padding you changed to get rid of the white shadow problem.
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,944
Members
47,491
Latest member
mohitk

Latest Threads

Top