Category Archives: HTML

Centering a Div on the Page, Vertically and Horizontally, So That It Is Always in the Center Independent on Browser Window Size

I am sure you at some point wanted to center a <div> element (or, perhaps, an image or some other HTML element) in the browser content area. While positioning it horizontally is easy, just a matter of setting your left-margin … Read More »»»

Posted in HTML | Tagged , , , , , , , | 1 Comment

Create a Page With a Header, Content and Footer That Span 100% Height in the Browser

Surely you have seen pages that span 100% height of your browser’s canvas area, even though the content may be just a line or two. If you are still wondering how to do this, here’s you complete guide, although without … Read More »»»

Posted in CSS, HTML | Tagged , , , , , , , , | 6 Comments