The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] DIV is not centering in IE
Here is my code:
In FF it is centerd. Here is the page in question: http://www.pfmashup.co.cc/php/minifolio/index.html
its most likely that you didn’t set a doctype.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
to the top of your HTML, see what happens.
Thanks, that solved it