Forum Moderators: not2easy
body {
color: #000;
background: #cce;
font-family: georgia, "times new roman", sans-serif;
font-size: 90%;
font-weight: bold;
text-align: center;
margin: 30px 0;
}
.wrapper {
margin: 0 auto;
width: 780px;
text-align: left;
background: url(images/pr-background.jpg) repeat-y;
border: 1px solid #000;
}
What centers it is the margin: 0 auto;. That tells it that the top/bottom margin is 0 and the left/right auto centers it.
Jennifer
Big John's Piefecta layout uses 'text-align: center;' as a hack to force IE to centre. 'text-align: left;' is used later on to realign the actual text.