I know of the hacky ways to center css (like the negative margin-left trick) and others, but what is the proper way? What position should I be using? relative?
Here are a few links that you might be interested in. HORIZONTAL CENTERING http://www.maxdesign.com.au/presentation/center/ http://bluerobot.com/web/css/center1.html http://www.simplebits.com/notebook/2...centering.html http://www.andybudd.com/archives/200...ntering_a_div/ http://css-discuss.incutio.com/?page...ngBlockElement http://allmyfaqs.net/faq.pl?Center_with_CSS If you have new resources, PM me and I'll add them, this thread is now locked VERTICAL CENTERING http://www.hicksdesign.co.uk/journal...ering-with-css http://www.jakpsatweb.cz/css/css-ver...-solution.html http://tutorials.alsacreations.com/centrer/
The hackey one is GREAT... for absolutes and fixed positioning. Other than that a combination of margin: 0 auto; and (for ie) a wrapper div that has text-align:center; Will keep everything where it should be and is a very common convention.