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

  • Home
  • SEARCH
  • 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 472695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:06:47+00:00 2026-05-13T00:06:47+00:00

The problem may appear in other browsers too, I haven’t checked yet. Sorry but

  • 0

The problem may appear in other browsers too, I haven’t checked yet.

Sorry but this will take some amount of work on your part. Please bear with me.

  • Open Firefox. You need the Firebug extension or something that will let you run a single JS command.

  • Go here. Sorry for all the anime.

  • Open the Firebug console and run the following command:

CSSdev.enable_tiles()

  • You’re now looking at the baseline grid. Each square is 24×24 pixels. The line height throughout the site is 24px, with no exceptions. Images, margins, the size of everything is a multiple of 24px.

  • Scroll down until you can see the “Fluffy tag cloud” in the sidebar. Notice how anything under it is misplaced; it’s a little too low. If you navigate in the Firebug DOM tree to that part of the layout and hover with the mouse cursor on the <p> element, you’ll be able to see that the tag cloud’s height is a little too big.


To be more clear: the problem is that the height of the <p> element that wraps all the <span> elements of the tag cloud is not a multiple of 24px; indeed, it’s just a few pixels too big.

This is strange, because the <p> contains only text and its line height is 24px, so its height should be 24px multiplied by the number of lines of text inside it, regardless of the font size of anything inside it. This is how I understand it anyway.


Given that:

  • The tag cloud does inherit the line-height: 24px rule;
  • The font size of any span inside the cloud is 20px or less;
  • The only way to fix the problem seems to be to give to all the spans the same font-size (e.g. giving everything a 16px font-size works)

Is there any kind of fix or fugly hack I can use to have different font sizes and a line height of 24px?


I don’t know why Kobi deleted his answer but it actually led to a fix for my problem. A solution is to convert it to a list, UL and LIs inside it, float the LIs left and set a height for them of 24px and a small margin to keep them apart horizontally.

@Kobi: please re-add your answer so I can accept it


Since I have now fixed the problem, the steps described above won’t work anymore.

  • 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-13T00:06:47+00:00Added an answer on May 13, 2026 at 12:06 am

    This is weird, and I didn’t check into that, but it looks like setting this does the trick:

    .rank-1 {
       line-height: 1;
    }
    

    Again, I’m just playing around, but it seems to align the page the way you want.

    Another option is to have the tags float:left and have a fixed height of 24px.

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

Sidebar

Related Questions

This problem may seem like school work, but it isn't. At best it is
This problem may be a little broad, but I'm going to go ahead and
I may be approaching this problem from the wrong angle but what I'm thinking
I am new at JavaScript so I think my problem may be simple. This
I think I have a synchronization problem...It may be too basic..Please help.. I have
We may replace a PHP app with a Java EE app, but the problem
first time poster. Please be gentle. This topic may be similar to several other
This seems like a very simple problem, but I cannot get a scrollbox to
This seems like an obvious question but there does not appear to be an
This may not seem like a development question but there is a link. I

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.