View Single Post
Old 06-28-2009, 01:48 AM   #6 (permalink)
htmlbasictutor
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,168
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
Quote:
.oneColFixCtrHdr #container {
color: #000;
width: 776px;
font-family: Verdana, Geneva, sans-serif;
text-align: center;
}
text-align: center; here will center the contents of the container.

If you want the container centered horizontally on the page then:
Code:
.oneColFixCtrHdr #container { color: #000; width: 776px; font-family: Verdana, Geneva, sans-serif; margin-left: auto; margin-right: auto; }
__________________
HTML Basic Tutor - Learn to code your web pages/blogs to be cross-browser compatible
Basic Computer Information - Computer Basics for website owners

Need a Web Page Technical Review? Pm me.
htmlbasictutor is online now   Reply With Quote