All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Responsive Pagination CSS

  • # December 26, 2012 at 10:54 pm

    Is it possible to make pagination responsive and fill my div container? I thought setting display to table-cell would do it, but this didn’t help.

    [My pagination can be found here](http://themeforward.com/demo2/?paged=5 “”)… and I can’t figure it out for the life of me.

    .page-numbers {
    font-size:0.75em
    }
    a.page-numbers {
    background:#449BB5;
    color:#FFF;
    display:inline-block;
    padding:1em
    }
    .page-numbers.current {
    background:#000;
    display:inline-block;
    padding:1em
    }
    .page-numbers.dots {
    display:inline-block;
    padding:1em 0
    }

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed