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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:22:35+00:00 2026-05-16T14:22:35+00:00

I have a recurrent design issue when I use sliders in my photo galleries.

  • 0

I have a recurrent design issue when I use sliders in my photo galleries.

Let’s say I’m using a slider such as < 1 / 14 > centered below the current image.

I cannot use text-align:center because I’m using position:absolute to move it right below the image. (I usually use lightbox2 pluging and I need to move the components according to the layout).

Now, when I reach the image < 10 / 14 >, the slider is not anymore perfectly centered (because of the additional number.

How can I solve this (possibly with css) ?

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-16T14:22:37+00:00Added an answer on May 16, 2026 at 2:22 pm

    I usually wrap the numbers in their own block level element so you can specify a fixed width for them and then the total width doesn’t change and the whole construct remains centered regardless of the numbers being shown.

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

Sidebar

Related Questions

I've been having this bothering recurring theme; let's just say, I have a class
I have arraylist say, List<CalendarOutput> RecuringEve= Recurrent.eventView(component,begin,end); and i want to print the arraylist,
I have a recurrent problem when using R with a Linux console. I sometimes
please suggest me best algo for the below situation: I have some taks which
I have a very recurrent problem here. (it happens literally all the time). I
I have a tabular file with a column that is recurrent example toto tata
Maybe this is a recurrent question, but I got stuck with this issue and
Here's a recurrent problem that I have and I think maybe CDI events can
I know, it is a recurrent but... I have a big problem with my
I have a recurrent chunk of code where I loop over all the members

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.