Website doesn't want to center
I am currently working with a website but I'm having a particular problem. I'm having a problem getting my website to center properly when I covert it into an HTML5 webpage. It all worked previously using this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
But as soon as I change it the page is all to the left side of the screen instead of being centered.
Any ideas what I may need to do?
Last edited by ecross; 07-05-2011 at 08:09 PM.
The DOCTYPE still needs to be on the first line of the code...
Thanks Dave! That fixed the problem.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)