Click to See Complete Forum and Search --> : page centering in IE


Dali
04-19-2009, 10:18 AM
Hi guys,
I know this is the most stupid and annoying question to ask but, i've looked through the code 10 times now and i can't find the mistake. Its probably missed tag or something, its driving me crazy.
I have to switch the design on one site and because i did all so fast, i must be missing something. The new page uses mostly div's instead of the old tables, and now it doesn't wanna center in IE. If anybody has some mercy and feels like checking the code out, here's the page : kattvarnet.nu/index2.php (http://kattvarnet.nu/index2.php).
Thanks!

Quidam
04-19-2009, 12:34 PM
Put this at the absolute top of your document (above <html>).

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Dali
04-19-2009, 01:26 PM
Man, thank you so much. Totally forgot to check the begining, thats what you get for taking over others codes.
Thank you!!