473,386 Members | 1,766 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,386 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 2233
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.