Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7070925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:37:31+00:00 2026-05-28T05:37:31+00:00

I am using a DevExpress ASPxMenu. The html it produces creates a td element

  • 0

I am using a DevExpress ASPxMenu. The html it produces creates a td element between every menu item. I have already asked DevExpress how I can remove this td via a setting or add a class and they say it can’t be done (http://devexpress.com/Support/Center/p/Q281686.aspx, there is a sample solution attached to that ticket too)

The html/css looks something like (i have added the background:red to highlight the cell):

<table class="nav-menu" cellspacing="0">
    <tr>
        <td class="nav-item nav-item-selected">menu 1</td>
        <td id="td0" style="height:1px;width:2px;background:red">
           <div style="height:1px;width:2px;overflow:hidden;"> </div>
        </td>
        <td class="nav-item"> menu 2</td>
        <td id="td1" style="height:1px;width:2px;background:red">
           <div style="height:1px;width:2px;overflow:hidden;"> </div>
        </td>
        <td class="nav-item"> menu 3</td>
        <td id="td2" style="height:1px;width:2px;background:red">
           <div style="height:1px;width:2px;overflow:hidden;"> </div>
        </td>
        <td class="nav-item"> menu 4</td>
        <td id="td3" style="height:1px;width:2px;background:red">
           <div style="height:1px;width:2px;overflow:hidden;"> </div>
        </td>
    </tr>
</table>

.nav-menu 
{
    width:400px;
    height:35px;
    background: transparent;
}
.nav-menu td 
{
    display: none;
}
.nav-item
{
    font: 1em/1.167em Helvetica,Arial,sans-serif!important;
    color: #5A81B3;
    padding-left: 4px;  
    display: table-cell!important;
    border: 0px;    
    border-right-color: #DFE9EF;
    border-right-style:Solid;
    border-right-width: 1px;    
 }
 .nav-item-selected,
 .nav-item:hover
 {    
      color: #5A81B3;
      background: url("../images/arrow-nav.gif") no-repeat scroll 8px 100% #DFE9EF; 
  }

I have no control over the td with the id (td id=”td0″) and I don’t want it displayed.

The above works great in FF and IE8/9 but not IE6/7. I have tried different displays but they just break FF and IE8/9.

I have looked at display :table-cell does not work in ie 7? and IE7 and the CSS table-cell property but I don’t think they help me.

So:

a) how can i get the menu to display similar to table-cell in ie6 or 7

OR

b) how can i get ie6 and 7 to ignore this rule

.nav-menu td 
{
    display: none;
}

Would prefer to avoid javascript if I can. I also don’t want to use the rule below as the id is generated by .net.

  #td0 
  {
      display: none;
  }

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:37:32+00:00Added an answer on May 28, 2026 at 5:37 am

    Instead of hiding the element through display, you could hide its visibility. This, however, won’t collapse the cell and the space it occupies will still be there. It might (or might not) satisfy your needs:

    .nav-menu td  {
        visibility: hidden;
    }
    
    .nav-menu .nav-item {
        visibility: visible;
    }
    

    If you really need to get rid of that space, then you can force the cell to occupy zero pixels like this:

    .nav-menu td  {
        visibility: hidden;
        width: 0 !important;
    }
    
    .nav-menu td div {
        display: none;
    }
    

    You can view a demo here: http://jsfiddle.net/7z7qr/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have D2006 and I am using DevExpress QuantumGrid 6 in a project. I
I have a base class, defined as below (I'm also using DevExpress components): public
I have a project using DevExpress docking components, I create forms in run-time, which
I am using DevExpress in my winform application, I have a gridview, data entry
i am using devexpress gridview 9.2. i have 2 gridview having 2 colum -->
I'm using devExpress 11.1 with MVC 3/razor and i'm experiencing problems with putting html
I have a project using DevExpress 8.3 (2008.3) which I just recently upgraded to
I have a Delphi application using DevExpress cxGrid (which is connected to database). I
Specifically, I am using DevExpress 10.1 for their APSxGridView. I have a grid with
I am using DevExpress AspxScherduler control. How can i disable selection of multiple rows.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.