1 Replies - 9277 Views - Last Post: 14 April 2011 - 01:54 PM Rate Topic: -----

#1 juicyfruit  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 14-April 11

White space between menu items in asp.net

Posted 14 April 2011 - 12:33 PM

I am getting what appears to be white-space after each asp.net menu item. This does not happen in FF or in IE while running from VS. It only happens after I upload the code to IIS and view in IE. I have tried several things to resolve this issue but have had no success in doing so. Some of the things I have tried are:

.hideSkiplink > a {
    display: none;

	z-index: 999;

The image below (attached) shows what I am referring to. Here is the code for the asp menu.

<div class="clear hideSkiplink">
                <!--<asp:Label runat="server" Text="" BackColor="#b6b7bc" Height="5" ID="lblBorderTop"></asp:Label>-->
                <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" 
                    EnableViewState="false" IncludeStyleBlock="true" Orientation="Horizontal"
                    onmenuitemclick="NavigationMenu_MenuItemClick" DynamicMenuStyle-CssClass="IE8Fix" >

                        <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home" 
                            ToolTip="Quiet Logistics Cart Site Home">
                            <asp:MenuItem Text="Log Out" ToolTip="Log out of Cart Site" Value="Log Out">
                        <asp:MenuItem NavigateUrl="" Text="Receiving" Value="Receiving">
                            <asp:MenuItem Text="PO on Dock" Value="PO on Dock" NavigateUrl="~/Receiving/PoOnDock.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="PO Area" Value="PO Area" NavigateUrl="~/Receiving/POArea.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="PO Complete" Value="PO Complete" NavigateUrl="~/Receiving/POComplete.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Receiving" Value="Receiving" NavigateUrl="~/Receiving/Receiving/BeginReceiving.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Receiving Adjust" Value="Receiving Adjust" NavigateUrl="~/Receiving/ReceivingAdjust.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="RMA" Value="RMA" NavigateUrl="~/Receiving/RMA/RMADefault.aspx"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="" Text="Shipping" Value="Shipping">
                            <asp:MenuItem Text="Order Release" Value="Order Release" NavigateUrl="~/Shipping/OrderRelease.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Order Induct" Value="Order Induct" NavigateUrl="~/Shipping/OrderInduct.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Order Cancel" Value="Order Cancel" NavigateUrl="~/Shipping/OrderCancel.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Order Short" Value="Order Short" NavigateUrl="~/Shipping/OrderShort.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Ship Address Edit" Value="Ship Address Edit" NavigateUrl="~/Shipping/ShipAddressEdit.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Tote Induct Work Area" Value="Tote Induct Work Area" NavigateUrl="~/Shipping/ToteInductWA.aspx">
                            <asp:MenuItem Text="Tote Induct Zone" Value="Tote Induct Zone" NavigateUrl="~/Shipping/ToteInductZone.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Manifest" Value="Manifest" NavigateUrl="~/Receiving/Manifest/Manifest.aspx"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="" Text="Print" Value="Print">
                            <asp:MenuItem Text="Product Labels" Value="Product Labels" NavigateUrl="~/Print/ProductLabels.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="PO Labels" Value="PO Labels" NavigateUrl="~/Print/POLabels.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Pick Cards" Value="Pick Cards" NavigateUrl="~/Print/PickCards.aspx"></asp:MenuItem>
                            <asp:MenuItem Text="Badge" Value="Badge" NavigateUrl="~/Print/Badge.aspx"></asp:MenuItem>
                        <asp:MenuItem Text="Inquiries" Value="Inquiries">
                            <asp:MenuItem Text="Item Inquiry" Value="Item Inquiry" NavigateUrl="~/Inquiry/ItemInquiry.aspx"></asp:MenuItem>
                        <asp:MenuItem Text="Tools" Value="Tools">
                            <asp:MenuItem Text="Cube Capture" Value="Cube Capture" NavigateUrl="~/Cube/CubeCapture.aspx"></asp:MenuItem>

Attached image(s)

  • Attached Image

Is This A Good Question/Topic? 0
  • +

Replies To: White space between menu items in asp.net

#2 platrelefs  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 8
  • Joined: 31-March 09

Re: White space between menu items in asp.net

Posted 14 April 2011 - 01:54 PM

Is IIS running any modules that might affect this?

I haven't used IIS personally, BUT, on other server side applications, I've had similar issues with modules either inserting their own code in arbitrary locations, or styles affecting the position of elements in otherwise untouched page designs.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1