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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:30:47+00:00 2026-05-15T12:30:47+00:00

This little issue is starting to do my head in, I have read around

  • 0

This little issue is starting to do my head in, I have read around a lot and have never had an issue with this in the past but I cannot seem to get the second div to appear on the right side of the table cell, any help would be appreciated.

My Markup is

<td>
    <div class="sort">
        <a href="#">ID</a>
        <span class="icon1"></span>
    </div>
    <div class="divider icon2"></div>
</td>

And my css is

thead .sort a {
    color: #fff;
    float: left;
}

thead .sort {
    float: left;
}  

thead .divider {
    float: right;
}  

I am expecting this is something simple or something I am just overlooking.

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-15T12:30:48+00:00Added an answer on May 15, 2026 at 12:30 pm
    table .sort a {color: #f00; float: left;}
    table .sort {float: left; border:1px solid #093;}  
    table .divider {float: right; border:1px solid #00F;}
    

    and

    <table width="100%" border="0">
          <tr>
            <td>
              <div class="sort">
                <a href="#">ID</a>
                <span class="icon1"></span>
              </div>
              <div class="divider icon2">icon</div>
            </td>
          </tr>
        </table>
    

    works.

    Note I just added a couple of borders to the CSS.

    But then I just tried your code and that works here too.

    Using THEAD or TABLE in the CSS seems to make no difference. Is it possible you have another style clashing with those used for the table?

    Anyway, with the above CSS (referencing table .SORT instead of THEAD .sort), adding THEAD tags around a row in the HTML doesn’t affect it.

    Hope that helps.

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

Sidebar

Related Questions

@alex-r help me a lot with this but im getting a little issue. To
I'm starting to go a little crazy with this one. I have an iphone
just having a little issue figuring this jquery problem out. I have a table
I think I am overthinking this issue a little and I'm hoping someone can
This one is a huge issue: first off, while I know a little bit
I've been struggling with this issue for a little while now. Found several posts
found this little code snippet that seems to do what i want, but im
Given this little fiddle: http://jsfiddle.net/5Sw3h/8/ I have a navigation panel to the left, a
have written this little class, which generates a UUID every time an object of
I have taken this little snippet straight out of some code I'm working on:

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.