Justify ul element


I would like to justify (align to left and right) a <ul> that I have. You can see how it looks today in the picture where the gray area is in the <ul>. If I would like to jutify it how can I do that?

Here's my css:
  .listings ul.properties_list {
        list-style: none;
        overflow: hidden;
        /*float: left;
        width: 77.34375%;*/
        background-color: transparent;

    .listings ul.properties_list::after {
        content: '';
        display: inline-block;
        width: 100%;

     .listings ul.properties_list::before{
         content: '';
         display: block;

    .listings ul.properties_list li {
        display: block;
        width: 13.63636363636364%;
        height: auto;
        position: relative;
        float: left;
        margin: 10px 3.03030303030303% 0px 0px;
        vertical-align: bottom;

    .listings ul.properties_list li .imageBlock {
        height: 213px;
        vertical-align: bottom;
        display: table-cell;

    .listings ul.properties_list li img {
        width: 100%;
        height: auto !important;

    .listings ul li .property_details {
        width: 100%;
        padding: 0;
        height: 100px;
        transition: all .2s linear;
        -webkit-transition: all .2s linear;
        -moz-transition: all .2s linear;
        -o-transition: all .2s linear;
        color: #000;
        margin-top: 5px;

    .listings ul li .property_details h1,
    .listings ul li .property_details h1 a {
        font-size: 1em;
        color: #4aa7de;
        font-weight: 700;
        font-family: 'Open Sans', sans-serif;

     .listings ul li .property_details h1 a:hover {

    .listings ul li .property_details h2 {
        font-size: 0.8em;
        font-family: 'Open Sans', sans-serif;
        margin-top: 5px;

    .listings ul li .property_details .textDetails {
        height: 60px;

    .listings ul li .property_details .buyDetails {
        vertical-align: bottom;

    .listings ul li .property_details .buyDetails .price {
        color: #ff4d20;
        font-size: 12pt;
        vertical-align: bottom;
        margin-top: 4px;
        float: left;

    .listings ul li .property_details .buyDetails .buyarea {
        display: table;
        float: right;

Open in new window

And here's the markup:
 <ul class="properties_list">
                <div class="imageBlock">
                    <asp:HyperLink ID="imgProduct" runat="server"></asp:HyperLink>
                <div class="property_details">
                    <div class="textDetails">
                            <asp:HyperLink ID="hlLink" runat="server"></asp:HyperLink>
                            <asp:Label ID="lblAuthor" runat="server" Text='<%# Eval("author") %>'></asp:Label>
                    <div class="buyDetails">
                        <div class="price">
                            <asp:Label ID="lblPrice" runat="server" Text=""></asp:Label>
                        <div class="buyarea">
                            <uc1:buyLink ID="buyLink1" runat="server" />

Open in new window

If anyone can help me I would me grateful.

Peter NordbergIT ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve BinkCommented:
The easiest way would be to set "text-align:center" on the <ul>.  On the <li>, remove the float, and change it to "display:inline-block".  You may need to set an explicit height on the <ul> to prevent word wrap.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.