Knowledge Base

Snippets

13

 

div id="content"
This is a DIV block that is to be centered. I don't
want the text to be centered, though, just the block.
/div
#content {
  width: 700px ;
  margin-left: auto ;
  margin-right: auto ;
}
Posted in: CSS

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.