Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Center something vert. and horz. in a web page using CSS (See related posts)

Here's how to center anything vertically and horizontally in a web page using CSS. Works with most all browsers that support CSS.

I adapted this from Jak psåt web, thanks!

<html>
        <head>
                <title>Center w/ CSStitle>
                
        
        
                
"outer">
"middle">
"inner"> your stuff here in center of page

You need to create an account or log in to post comments to this site.


Related Posts