469,898 Members | 1,825 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

asp:menu graphical bug in IE

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

May 15 '06 #1
5 2157
Can we see the css and code?

Thanks!

se*@connexion.at wrote:
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

May 15 '06 #2
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.

May 15 '06 #3
seo
I found out what went wrong:

The css of the menu collided with mine.

Everything looks the way it shoud now.

May 15 '06 #4
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
"se*@connexion.at" wrote:
I found out what went wrong:

The css of the menu collided with mine.

Everything looks the way it shoud now.

Jun 2 '06 #5
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. :)

"nhwilly" wrote:
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
"se*@connexion.at" wrote:
I found out what went wrong:

The css of the menu collided with mine.

Everything looks the way it shoud now.

Jun 2 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Uriah | last post: by
7 posts views Thread by Chuck Hartman | last post: by
7 posts views Thread by tfsmag | last post: by
reply views Thread by chris.mcinnes | last post: by
2 posts views Thread by jason | last post: by
2 posts views Thread by Kevin L. Kitchens | last post: by
2 posts views Thread by Steve Richter | last post: by
3 posts views Thread by win | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.