Thursday, January 15, 2009

Centre aligning a block element

you wanted to have a fixed width layout website, and the content floated in the middle of the screen. You can use the following CSS command.
#content
{
width: 700px;
margin: 0 auto;
}

0 comments:

Post a Comment