Thread: Learning CSS
View Single Post
  #11  
Old 09-22-2011, 08:55 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 50,421
Nemesis is on a distinguished road
Default

I just centered mine (http://spiceandwolf.99webs.info/characters.html) with

#wrapper { width: 900px;
margin: 0 auto;
}
then everything in the <div id="wrapper"> is centered </div> try that. make the px match your area though. and sorry if i caused any confusion i was just messing before.

Also my book says this should be the first thing in your document <?xml version="1.0" encoding="UTF-8"?> however the page never loads with that in there. i take it out and it works fine.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote