Hi Have a site restaurantreviewed(dot)com. The template loads centered in FF and Opera but text off to left side in IE. Is there a way to correct this? Thanks in Advance Larry
Hi IE will be in quirks mode, due to you have not delared a DTD (document type definition). Without this, IE doesnt know how to render your web page, add a DTD and that should sort the problem. Ash
Tried a couple different DTD, still doesn't seem to want to work. I added <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> to the index.php. Is this the right DTD or do I have to add them to all the files?
Oh my God, i just took a quick look at the code and it is a mess. You have two <html> tags, two <doctype's ....I am too tired and too afraid to look deeper into it. If by tomorrow when i wake up you haven't resolved it, once i get some time will take a look into it.
Hi Larry S In FF the design is perfect except for this small thing appearing at the top <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> Code (markup): In IE(6.0.xx) the design is centered but the content is not aligned properly.
Ok Larry S I saved your page & tried this, it worked for me Edit this in your style.css original .dc { VERTICAL-ALIGN: top; WIDTH: 303px } Code (markup): Edit to .dc { VERTICAL-ALIGN: top; WIDTH: 303px; display: inline; } Code (markup): - Parag