Skip to content

Pilmore, Lee

Vertically center content with CSS

Filed under CSS on February 12th, 2008 |

An interesting way of vertically centering content, using just CSS {display: table;}. A few <div>’s are required with one extra to accomodate IE but it seems to work nicely. I haven’t fully browser checked it out but thanks Vdot Media.

Leave a Comment

Required

Required, but not displayed

Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Picture house

Coming from Flickr

Diversions