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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:59:42+00:00 2026-06-11T20:59:42+00:00

The problem is that there’s going to be lots of different languages on our

  • 0

The problem is that there’s going to be lots of different languages on our site with unknown dynamic text lengths. I need everything to be centered but without manually adding a right margin to every area like this. Would be great if it could do some type of jQuery calculation and make it so they look even like this every time but done automatically:
Click here to see my CSS example

I tried modifying this jQuery script I found but I failed as you can see here jsfiddle.net/UTaSg/86/
This could work if it doesn’t add the additional width to the last child (no space on right side of “Type: All Solo Band Group”).

I’m not sure how to do this, any help would be greatly appreciated. Thanks in advance for any help! Please use examples if possible.

There’s always going to be these 4 filters in the 990px container and I want to keep 25px of space on the ends with all the different languages. So their text length will change slightly and I want the space in-between the 3 filter spaces to be equal.

  • 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-11T20:59:43+00:00Added an answer on June 11, 2026 at 8:59 pm

    You can try simply sum the width if each text and substract it from width of the whole, dive by 3 and put it as right-margin to each element except the last one.

    You can create generic plugin since this will work for any number of items are inside jQuery object with length, and you can get container using parent().

    You can try this: http://jsfiddle.net/UTaSg/104/

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

Sidebar

Related Questions

I'm working with Eclipse and ClearCase and we're facing the problem that there's no
Assume that there's no problem with my header file and some included library. I'm
There was this problem that has been asked about implementing a load byte into
Possible Duplicates: Is there a problem that has only a recursive solution? Can every
I've found that there seems to be a problem using css transitions properties when
I'm mostly convinced that there is an answer to this problem, but for the
i have problem with libhid . i found that there 2 way 4 accessing
Original Problem: I have 3 boxes each containing 200 coins, given that there is
I want to test the phpDocumentor-alpha, and there's a problem that some people seems
The problem is that it takes way to long in SQL and there must

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.