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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:56:55+00:00 2026-06-17T21:56:55+00:00

This is demo: http://jsfiddle.net/KS4eS/ Please take a look at demo first. I’d like To

  • 0

This is demo: http://jsfiddle.net/KS4eS/

Please take a look at demo first.

I’d like To set their alignment the same.

Something like this. How can I?

                    center
------------------------------------------------------
                    A2345343
                    B435234
                    C4364353
                    D3426432632
                    E46324362
                    F235235
                    GGGGG

------------------------------------------------------

HTML

<div class='general'>

    <div class='list'>

            <div class="top_page_function">A2345343</div>
            <div class="top_page_function">B435234</div>
            <div class="top_page_function">C4364353</div>
            <div class="top_page_function">D3426432632</div>
            <div class="top_page_function">E46324362</div>
            <div class="top_page_function">F235235</div>
            <div class="top_page_function">GGGGG</div>

    </div>



</div>

CSS

.general {
    background-color: rgb(255, 255, 255);
    border-radius: 8px 8px 8px 8px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    text-align: center;
    padding: 10px;
}

.list{
    width: 400px;
    min-width: 250px;
    margin-bottom: 20px;
}
  • 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-17T21:56:56+00:00Added an answer on June 17, 2026 at 9:56 pm

    This will get what you want:

    .general {
        background-color: rgb(255, 255, 255);
        border-radius: 8px 8px 8px 8px;
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
        margin-bottom: 30px;
        padding: 10px;
        text-align:center;
    }
    
    .list{
        margin-bottom: 20px;
        text-align: left;
        margin: 0 auto;
        display: inline-block;
    }
    

    It will also work with any width. See here: http://jsfiddle.net/KS4eS/8/

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

Sidebar

Related Questions

this is the demo : http://jsfiddle.net/KwYjr/10/ how to set the blue div's width is
This is my demo: http://jsfiddle.net/michelejs/PeS2D/560/ How can I stop the first <li> being draggable?
DEMO: http://jsfiddle.net/CtCuk/10/ If you take a look at demo, Here is News section is
Demo: http://jsfiddle.net/waitinforatrain/9JU5b/ I'm trying to make a notification icon thing that looks like this:
take look at this: http://www.templatemonster.com/demo/35403.html In this template you can click on the image
Take a look at this example: http://www.extjs.com/deploy/dev/examples/multiselect/multiselect-demo.html On it, there are components rendered against
http://jsfiddle.net/aBaw6/2/ This demo does not add class when you hover a list item. What
Hi I have this Demo: http://jsfiddle.net/SO_AMK/BcFVv/ I am trying to show only 1 Div
Live Demo: http://jsfiddle.net/thisizmonster/DveuB/ How can I change this so that the input only allows
The code: setInterval(doSomething(), 2000); function doSomething(){alert('hi')} demo: http://jsfiddle.net/PRff7/ I've been reading about this and

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.