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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:41:05+00:00 2026-05-24T12:41:05+00:00

I having trouble trying to put a div with the style catalog at the

  • 0

I having trouble trying to put a div with the style catalog at the top of the cell of a table. I don’t know why because in the next column, I have a div and it appears in the right place.

What am I doing wrong?

The code, live at jsFiddle:

<table id="tblButtonContainer" style="margin:0px;border:0px; border-collapse: collapse; border-spacing: 0;">
<tbody>
<tr>
  <td style="">
    <div class="ui-accordion-header ui-helper-reset ui-state-default topCatalog">
       Categorias
    </div>
  </td>
  <td>
    <div class="ui-accordion-header ui-helper-reset ui-state-default">
      <label style="float:left;color:#FFF">Buscar</label>
      <input id="txtFinder" class="txtInput" type="text" value="Buscar" size="40">
      <input id="btnFinder" type="button" value="Buscar" class="ui-button ui-widget ui-state-default ui-corner-all" role="button">
    </div>
  </td>
</tr>
<tr>
  <td style="padding-right: 20px">
    <div class="catalog ui-accordion-header ui-helper-reset ui-state-default" style="200px">
      <ul class="menuCat">
        <li>
            <label class="formatText">Accesorios 4x4</label>
            <span class="ui-icon ui-icon-triangle-1-e" style="float:right"></span>
        </li>
        <li>
            <label class="formatText">Frenos y Pastillas</label>
            <span class="ui-icon ui-icon-triangle-1-e" style="float:right"></span>
        </li>
        <li>
            <label class="formatText">Tren Delantero</label>
            <span class="ui-icon ui-icon-triangle-1-e" style="float:right"></span>
        </li>
      </ul>
    </div>
  </td>
  <td>
    <div id="catalogSearch" class="boxShadow">
      <table id="tblCatalogSearch" class="centerTable" style="text-align:center">
      <tbody>
      <tr>
        <td colspan="3">
          <div style="margin:0;width:490px" class="ui-state-hover borders">
             Elige el modelo de tu vehículo
          </div>
          <div style="height:20px"></div>
        </td>
      </tr>
      <tr>
        <td>
          <label>Marca</label>
          <select name="brand" id="brand">
            <option value="0">Elige una Marca</option>
            <option value="1">prueba</option>
          </select>
        </td>
        <td>
          <label>Modelo</label>
          <select name="model" id="model" disabled="disabled"></select>
        </td>
        <td>
          <label>Año</label>
          <select name="year" id="year" disabled="disabled"></select>
        </td>
      </tr>
      <tr><td><div style="height:20px"></div></td></tr>
      <tr>
        <td colspan="3">
          <input name="btnSearch" id="btnSearch" value="Buscar" type="button" class="ui-button ui-widget ui-state-default ui-corner-all" role="button">
        </td>
      </tr>
      </tbody>
      </table>
    </div>
    <div id="results" class="boxShadow ui-corner-all borders" style="display: none; ">
      <div style="margin:0;width:490px" class="ui-state-hover borders">
        <span class="formatText" style="color:#373737;font-weight:bold;margin-left:20px">
            Resultados de la Busqueda:
        </span>
      </div>
      <table id="tblResult">
      <tbody>
      <tr></tr>
      <tr><td>Uno</td></tr>
      <tr><td>dos</td></tr>
      </tbody>
      </table>
    </div>
  </td>
</tr>
</tbody>
</table>

Note: I’m using jQuery-UI to help me with the styles I don’t know if that is part of the problem.

  • 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-24T12:41:06+00:00Added an answer on May 24, 2026 at 12:41 pm

    Use: #tblButtonContainer td {vertical-align: top;}.

    Don’t use inline styles!

    You can also consider adding:

    #tblButtonContainer td  div {
        display: table;
        height: 100%;
        width: 100%;
    }
    

    But I can’t vouch for that in all browsers.

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

Sidebar

Related Questions

I`m having trouble trying to optimize this query with OVER (PARTITION BY ...) because
I am having a little trouble trying to put a border around both rows.
I'm having trouble trying to put a ProgressDialog into my app. In my GameEngine
I am having trouble trying to put a regular expression in the right order.
I am having trouble trying to get iterators for inner sub-containers. Basically imagine this
I am having trouble trying to connect an Infopath 2007 form to an WCF
I'm having trouble trying to attach a custom tracking participant in workflow foundation 4.0.
I am having trouble trying to move sub nodes or parent nodes up or
I am having trouble trying to make a HashMap accessible to other methods in
I'm having trouble trying to manipulate music using buttons I can't seem to make

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.