I need help centering my web page"" really alls I need is the code please kudos given" http://www.thepurestfishoil.com/
Try this. body { margin: 0 auto; width: 970px; } Code (markup): Either that or give the first table in your page an ID and assign the style rules to that instead.
Yeah, can be confusing. Try this - in your page near the top of the code look for: <style type="text/css"> <!-- And then add this in the next line: #wrapper { margin: 0 auto; width: 970px; } and then look for the body tag: <body bgcolor="90A3CB" link="#006699" vlink="#006699" alink="#006699" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> and in the next line directly below add: <div id="warpper"> And then go down the bottom of the page and look for: </body> well, in the line directly above it put: </div> And that's it.
You've made a typo while opening your div in the body: <div id="warpper"> Code (markup): should be <div id="wrapper"> Code (markup):
Sorry about that Aaron111 and thanks donniedarko! It's funny, isn't it, we can come up with some great complicated solutions in life, but then we make the most basic silly mistakes. Well, I do. Aaron111, in case you haven't found my spelling error, (I think you are using Dreamweaver?) just do a search for "warpper". But it should be just below the <body> tag.
I did not know DW had a search button?? thats new where is this"" unless you mean code search my self
The search function can be enabled by holding CTRL+F on your keyboard. The warpper typo is a few lines after you close head </style> </head> <body bgcolor="90A3CB" link="#006699" vlink="#006699" alink="#006699" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> [B]<div id="warpper">[/B] <table width="970" border="0" cellspacing="0" cellpadding="0"> <tr> Code (markup):
Aaron - your code needs work but from what I can see you fixed the wrapper typo but for some reason you commented out your CSS so there is no styling being applied to the site. #wrapper { margin: 0 auto; width: 970px; } Should work if you uncomment it lol.
you have it right on your code just uncomment it by deleting the <!-- Code (markup): and --> Code (markup): near the beginning of the code