Centering multiple div blocks in a responsive manner

The best that I could accomplish was aligning the div blocks to the left as with this page:

http://jothut.com/cgi-bin/junco.pl/tagscountstop


A lot of discussion and different suggestions here:

http://stackoverflow.com/questions/114543/horizontally-center-a-div-in-a-div


This centers the div blocks both horizontally and vertically within a page, and it's responsive, but it fails in my version of IE 8 that I use for testing. This code contains a lot of funky CSS.

http://jsfiddle.net/danield770/La8h5/4/

#css - #howto

From JR's : articles
69 words - 531 chars
created on
updated on - # - replies: 3
source - versions

Related articles
Using CSS to center text vertically and horizontally - Aug 12, 2014



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Apr 23, 2024 - 8:54 a.m. EDT