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 4545574
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:49:58+00:00 2026-05-21T15:49:58+00:00

I cannot seem to figure out why my middle div( menu-item-middle class) inside the

  • 0

I cannot seem to figure out why my middle div(menu-item-middle class) inside the menuitem class won’t stretch accross. I’ve spent quite a bit of time on this now and I thought I better post this one because I cannot figure this out. This is what my code looks like.

.menu-item  div
{
    display:inline-block
}
.menu-item-left
{
    left:0px; float:left; border:1px solid #000000
}
.menu-item-middle
{
    padding-top:5px; padding-bottom:6px; padding-right:5px; left:39px; float:left; border:1px solid #000000
}
.menu-item-right
{
    width:26px; height:44px; right:0px; clear:right; background-image:url('images/Menu_Item_Arrow.jpg'); background-repeat:no-repeat; border:1px solid #000000
}
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div class="menu-item">
                <div class="menu-item-left">
                    <div class="item-corner">
                    </div>
                    <div class="item-icon">
                        <img alt="" height="36" src="images/spacer.gif" width="36" />
                    </div>
                </div>
                <div class="menu-item-middle">
                    <table border="0" cellpadding="0" cellspacing="0" style="margin-left:5px">
                        <tr>
                            <td>
                                <a href="#">
                                <span style="font-family:Verdana; font-size:.95em; font-weight:bold">Technology</span>
                                </a>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span style="font-family:Arial; font-size:.7em; color:#0b83bb">Computers &amp; 
                                Office Supplies</span></td>
                        </tr>
                    </table>
                </div>
                <div class="menu-item-right">
                    <img alt="" height="44" src="images/spacer.gif" width="26" />
                </div>
            </div>
            <div class="menu-item">
                <div class="menu-item-left">
                    <div class="item-corner">
                    </div>
                    <div class="item-icon">
                        <img alt="" height="36" src="images/spacer.gif" width="36" />
                    </div>
                </div>
                <div class="menu-item-middle">
                    <table border="0" cellpadding="0" cellspacing="0" style="margin-left:5px">
                        <tr>
                            <td>
                                <a href="#">
                                <span style="font-family:Verdana; font-size:.95em; font-weight:bold">Intersts</span>
                                </a>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span style="font-family:Arial; font-size:.7em; color:#0b83bb">Movies Books &amp; 
                                Music</span></td>
                        </tr>
                    </table>
                </div>
                <div class="menu-item-right">
                    <img alt="" height="44" src="images/spacer.gif" width="26" />
                </div>
            </div>
            <div class="menu-item">
                <div class="menu-item-left">
                    <div class="item-corner">
                    </div>
                    <div class="item-icon">
                        <img alt="" height="36" src="images/spacer.gif" width="36" />
                    </div>
                </div>
                <div class="menu-item-middle">
                    <table border="0" cellpadding="0" cellspacing="0" style="margin-left:5px">
                        <tr>
                            <td>
                                <a href="#" style="text-decoration:none; color:#0b83bb">
                                <span style="font-family:Verdana; font-size:.95em; font-weight:bold">
                                Entertainment</span> </a>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span style="font-family:Arial; font-size:.7em; color:#0b83bb">Software &amp; 
                                Digital Games</span></td>
                        </tr>
                    </table>
                </div>
                <div class="menu-item-right">
                    <img alt="" height="44" src="images/spacer.gif" width="26" />
                </div>
            </div>
        </td>
    </tr>
</table>
  • 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-21T15:49:58+00:00Added an answer on May 21, 2026 at 3:49 pm

    This is because you have set the float property. If you want to keep it then try adding a width: 100% to the class.

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

Sidebar

Related Questions

I cannot seem to figure out how to dynamically change the selected item in
I cannot seem to figure out I am getting the following error in IE
Looking over the magento 1.5 schema I cannot seem to figure out how a
I cannot seem to figure out where I went wrong with this. favorite share
I cannot seem to figure out how to do a Selection Alignment in the
...which I cannot seem to figure out, for whatever reason. I've tried cleaning my
i am currently using the RestClient and cannot seem to figure out how to
I've looked and looked with the debugger and cannot seem to figure out why
I've been searching the internet and I cannot seem to figure out my problem.
I'm trying to code something with generics, but cannot seem to figure out how

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.