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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:28:27+00:00 2026-05-30T08:28:27+00:00

I am trying to make the posts within #post-area align center instead of left.

  • 0

I am trying to make the posts within #post-area align center instead of left. I have tried to adjust the float:left; on the .type-post to margin:0 auto; without any response.

HTML:

<div id="post-area">
        <div id="post-24" class="post-24 post type-post status-publish format-standard hentry category-portfolio">
                  <div class="gridly-image"><a href="#"><img width="310" height="221" src="#" class="attachment-summary-image wp-post-image" alt="#" title="#"/></a></div>
          <div class="gridly-category"><p><a href="#" title="View all posts in Portfolio" rel="category tag">Portfolio</a></p></div>

                            <div class="gridly-copy"><h2><a href="#">#</a></h2>
                <p class="gridly-date">February 23, 2012  </p>



               <p class="gridly-link"><a href="#">View more &rarr;</a></p>
         </div>
       </div>

CSS:

/* post and page styles */ 
  .type-post                { width:770px; background:#FFF; border-right:1px solid #dbdbdb; border-bottom:1px solid #dbdbdb; margin-right:10px; margin-top:15px; display:inline;}
  .type-page                { width:770px; background:#FFF; border-right:1px solid #dbdbdb; border-bottom:1px solid #dbdbdb; margin-right:10px; margin-top:15px; display:inline; float:left; }
  .type-attachment          { width:770px; background:#FFF; border-right:1px solid #dbdbdb; border-bottom:1px solid #dbdbdb; margin-right:10px; margin-top:15px; display:inline; float:left; }
  .gridly-image             { z-index:5; }
  .gridly-category          { position:absolute; width:auto; background:#8f4988; margin-top:-35px; z-index:10;  height:30px; overflow:hidden;}
  .gridly-category p        { margin:0; padding:0; line-height:30px; padding-left:20px; padding-right:40px; color:#fff;}
  .gridly-category a        { color:#fff; font-style:italic;}
  .gridly-category a:hover  { color:#555;}
  .gridly-copy              { width:710px; margin-left:auto; margin-right:auto; margin-top:20px; margin-bottom:20px; overflow:hidden; }
  .gridly-date              { width:150px;  color:#8e8e8e; font-size:11px;}
  .size-full                { width:100%; height:inherit;}

/* post index styles */ 
  #post-area                            {margin:0 0 0 15px;}
  #post-area .post                      { width:310px; background:#FFF; border-bottom-right-radius:5px; border-bottom-left-radius:5px; margin:15px 15px 15px auto; position:relative;  }
  #post-area .post .gridly-copy         { width:250px; margin-left:auto; margin-right:auto; margin-top:10px; margin-bottom:20px; overflow:hidden; clear:both;}
  #post-area .post .gridly-copy  h2     { font-size:14px;}
  #post-area .post .gridly-date         { width:150px;  color:#8e8e8e; font-size:11px;  border-bottom:1px dotted #cccccc; padding-bottom:0; padding-top:0; }
  #post-area .post .gridly-link         { width:150px; border-top:1px dotted #e8e8e8; color:#494e51;}
  #post-area .post .gridly-image img    { border-top-right-radius:5px; border-top-left-radius:5px;}
  • 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-30T08:28:29+00:00Added an answer on May 30, 2026 at 8:28 am

    Change .type-post{display:inline} to .type-post{margin:0 auto} removing display:inline.

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

Sidebar

Related Questions

I'm trying to make a pull down menu post a form when the user
I'm trying to make a simple HTTP post a endpoint with ONLY url arguments.
I'm trying to make a simple blog with a posts controller route to the
I'm trying to make this call to send data to the server: $.ajax({ type:
I am trying to make a RESTful api and have some function which needs
I am trying make long screen to vertical direction. So, I need a screen
Trying to make a make generic select control that I can dynamically add elements
Trying to make a MySQL-based application support MS SQL, I ran into the following
Trying to make a generic PL/SQL procedure to export data in specific XML format,
Trying to make a web service call to an HTTPS endpoint in my Silverlight

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.