I've built a Wordpress site, and I'm having some rendering problems in, you guessed it, IE.
Basically, all I really want is the whole page centered. Not sure how to accomplish that in IE.
It's been suggested to use a doctype to fix some of these problems, like centering divs, but when I use the doctype;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
or variations of them, some images are being shifted randomly. Also, text has gone missing or is shifted as well.
Just checked the following sticky about Doctypes only to find something missing. I'm pretty sure that TPH originally had the two Strict doctypes below the heading: DOCTYPES THAT WORK
Now there's nothing there. I viewed source and found two lots of empty code tags, I think this is another example of the upgrade at work
Could someone put the samples in please?
My learning curve is getting ever steeper!
I had designed a website with a doctype and. Then I decided I wanted a drop down menu but the page background image disappeared but the doctype to make the menu work meant the whole page messed up.
Starting from scratch, I am using the following doctype declaration and the menu works.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
I'm spinning my wheels. When I add the doctype, any doctype, my background images disappear. If I remove the doctype, my background images re-appear. I have to have the doctype for other css to work properly.
I can't figure out how to make this work.
Following is the stripped down version of my code!!!
<!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" xml:lang="en" > <html><head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">