Skip to Content
0
Former Member
Dec 27, 2007 at 05:32 AM

How do you center a page?

89 Views

Is there a way to center the pages? I'm currently centering my page by setting text-align:center in the style sheet.

This works with IE but not with firefox. Are there any other ways of centering pages?

.......

body {

margin-left: 0px;

margin-top: 0px;

margin-right: 0px;

margin-bottom: 0px;

background-repeat: no-repeat;

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 11px;

line-height: 14px;

color: #414141;

border-collapse:collapse;

text-align: center;

}