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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:36:55+00:00 2026-06-14T23:36:55+00:00

I am designing a table-like cluster of divs. There are only two rows. The

  • 0

I am designing a table-like cluster of divs. There are only two rows.

The “table” is built up like the following:

<div class="artist_meta_first_row">
    <div>some text</div>
    <div>some text</div>
    <div>some text</div>
    <div>some text</div>
    <div>some text</div>
</div>
<div class="artist_meta_second_row">
    <div>some text</div>
    <div>some text</div>
    <div>some text</div>
    <div>some text</div>
    <div>some text</div>
</div>

Fairly simple, right? Well here are the styles:

.artist_meta_first_row{
      text-transform: uppercase;
      padding-bottom: 40px;
      font-family: futura-pt, sans-serif;
      font-weight: 100;
      letter-spacing: 3px;
    }

      .artist_meta_first_row div{
        display: inline-block;
        min-width: 190px;
      }

.artist_meta_second_row div{
        display: inline-block;
        min-width: 190px;
        vertical-align: top;
      }

The problem I have is that the text in the divs in the first row starts a little bit more on the right than the text in the second row divs. It almost looks like there is some padding-left in the first row, but there isn’t in the css code. So after a lot of trial and error I found out that it is due to the letter-spacing: 3px; in the first row – it seems to make the divs in the first row a little wider, causing the cells in the first and second row not to be aligned well, even though I specified the width.

Is there any way I can properly align the two rows without having to get rid of the letter spacing?

  • 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-06-14T23:36:57+00:00Added an answer on June 14, 2026 at 11:36 pm

    I found a way myself – since I specify the width for each div inside the two rows, I just subtracted the three pixels that the letter spacing takes away from the width of the divs in the first row. Now the beginnings of the columns throughout first and second row are correctly aligned.

    This is the working code:

    .artist_meta_first_row{
          text-transform: uppercase;
          padding-bottom: 40px;
          font-family: futura-pt, sans-serif;
          font-weight: 100;
          letter-spacing: 3px;
        }
    
          .artist_meta_first_row div{
            display: inline-block;
            min-width: 182px; /* notice 185 - 3 = 182 */
          }
    
          .artist_meta_second_row div{
            display: inline-block;
            min-width: 185px;
            vertical-align: top;
          }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any built-in C# data structures that are like a hash table but
I'm designing a table on view. For instance, they have two columns are ID
I'm designing a table. There are several bit columns that are unrelated to each
For you database design/performance gurus out there. I'm designing a table, I have the
All - I need some help designing a table for a Postgre SQL database.
I'd like to hear some advice on designing the tables in this database... Let's
I need some help designing a friends system The mysql table: friends_ list -
I have a Questions table which looks like that as you see, there are
I am interested in designing the database (well, I'm only concerned about one table
We are designing a new database and I would like some input in where

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.