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.
try adding:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
to the top of your HTML, see what happens.
Thanks, that solved it
awesome :)