Help - Search - Members - Calendar
Full Version: Website bug in IE
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
zipper
Hi,
I'm new to this so please bare with me. I have just spent the last four weeks creating a website having taught myself some basic html, CSS, XML, XSL.
All was going well and it worked fine off line in both "Mozilla Firefox & IE".
I uploaded the site 10 minutes ago, and it works fine in Mozilla, Validation tells me there are no errors.
In IE however, the very first page "HOME PAGE" seems to be jumping to the left of the screen and the font size is increasing, when navigating through the site all other pages are displayed correctly. So it appears to be just the front page, which I have changed completely three times, but it still keeps happening.
Can anyone help identify how to rectify the problem? the website address so you can see how its behaving is www.property-innovations.co.uk thanks to all. biggrin.gif
pandy
There's a JavaScript block inserted before the doctype. Anything before the doctype puts IE in Quirks mode and it doesn't understand centering with auto margins.
http://hsivonen.iki.fi/doctype/

This is a somewhat qualified guess since I didn't want to go through all the style sheets. Let me know if you use some other way to center the content of the page and I'll take closer look.

HTML
<script LANGUAGE="JavaScript">
window.open('http://ptbanner.gmx.de/werbungeng.php3?domain=property-innovations.co.uk','pthtejp1J5fHo','width=488,height=50');
</SCRIPT>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">


If you didn't put that there yourself, you may want to have talk with your host. happy.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.