Thread
:
Centering in CSS
View Single Post
08-18-2004, 07:05 AM
#
7
Travis
Status:
Member
Join date:
Jul 2004
Location:
Expertise:
Software:
Posts:
445
iTrader:
0
/ 0%
This is probably more the code you would want:
body {
margin: 0;
padding: 0;
text-align: center;
}
.header {
padding: 10px;
background-color: #FFFFFF;
width: 500px;
border: 1px solid #999999;
}
Also why did you have margin: 10px; in the heading?
Travis
View Public Profile
Find More Posts by Travis