473,287 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

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 2228
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Uriah | last post by:
I have a sort of critical problem that is driving users nuts. My site works fine when running over HTTP but when I switch to HTTPS, an error is generated every time a user mouses over one of the...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
7
by: tfsmag | last post by:
Has anyone had a problem with putting a menu control into a master page in .net 2.0? I have a problem where if i just drop a menu control on a regular page the menu works fine, the submenus work...
0
by: chris.mcinnes | last post by:
G'day, I'm trying to implement a graphical horizontal Menu-bar feeding off a SiteMapDataSource with some top-level menu-items and a couple of sub-menus. I've managed to get the menu bar...
2
by: jason | last post by:
Does anybody know how I would get borders around each menuitem? Do I have incorportate into a table? Thanks. The below produces a border around the entire menu. <form id="form1" runat="server">...
2
by: Kevin L. Kitchens | last post by:
Howdy... Been toying the the asp:menu object in order to dump the manually generated menu I've been using, however, I cannot seem to get the coloring to work properly. First off, what CSS...
2
by: Steve Richter | last post by:
I would like to have a standard site navigation menu, horizontal across the page, at the top of the page. When I hover over a top level menu item I want a drop down menu to appear with the same...
3
by: kenny bones | last post by:
Hi! I'm currently working on a menu which is based on CSS and is listed with <li> tags. The CSS code looks like this: #nav { position: absolute; top: 101px; left: 390px; list-style: none;...
3
by: win | last post by:
I've create menu in a webform. <asp:Menu ID="Menu1" runat="server" CssClass="toolbar" Orientation="Horizontal"> <Items> <asp:MenuItem Text="Master" Value="Master"> <asp:MenuItem...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.