My Obsession

CSS for vertically centered content without using tables
CSS for vertically centered content without using tables

I have been obsessing over this project of building a webpage that could serve as a template for whole portions of a website. I want to do it without tables. I would like a header of a fixed height to stay at the top and a footer to stay stuck to the bottom and both of them would be php includes so I can update the whole thing in one document. And in between that I would like to float the content, centered horizontally and vertically, no matter what the actual height of the content is or how big the browser window is.

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *