You're viewing old version number 1. - Current version

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. The code contains a lot of funky CSS.

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

#css - #howto

From JR's : articles
55 words - 472 chars
created on - #
source - versions

Related articles
Centering multiple div blocks in a responsive manner - Mar 12, 2015
Using CSS to center text vertically and horizontally - Aug 12, 2014



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: May 2, 2024 - 7:14 p.m. EDT