AutoDirector forum

The AutoDirector support and advice forum

IE is fine Firefox car details out of line

Post Reply

Page: 1

Author Post
Member
Registered: Dec 2009
Posts: 15
When I look at my page in IE everything is great but when I look at it in Firefox / chrome its all over the plave when you go into car details. The contact sheet is to the right and the bold border for the details is very thin and in the wrong place. Hope someone can help.

Many thanks
Administrator
Registered: Apr 2008
Posts: 324
Sorry to hear that you're having problems.

I suspect it's because you're not using an HTML DOCTYPE or using an older quirks-based version. To fix it, see question 6 in the troubleshooting guide.

If that doesn't fix the problem, post your URL here so we can take a look.

I hope that helps.
_______________
AutoDirector administrator
Member
Registered: Dec 2009
Posts: 15
Still having the issue. My url is www.temp2.tinhat.net many thanks for the help it is much appreciated.

Jonathan
Administrator
Registered: Apr 2008
Posts: 324
Your showrooms are displayed in a frame. That frame loads an HTML page such as http://www.temp2.tinhat.net/fourxfour.html

If you examine that file, you'll see that the HTML DOCTYPE is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Change it to:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

and all should be fine! Please let me know if that works.
_______________
AutoDirector administrator
Member
Registered: Dec 2009
Posts: 15
That worked a treat. This really is good software, amazing for the price. Will definitely be buying this later this week.

Many thanks for your help.

Jonathan :D
Member
Registered: Dec 2009
Posts: 15
Hi sorry bad news, this fixed it for Firefox but when I looked at it in IE it was showing all muddled up there. Is there a code that will work for both?

Many thanks

Jonathan :'(
Administrator
Registered: Apr 2008
Posts: 324
The HTML code in the frame looks overly complex and I suspect Serif WebPlus has something to do with that. It's doing some very odd things with element sizes and positions, so I'm not surprised it's failing.

Use a text editor to change your frame HTML pages. All you need is this (for your 'classic' showroom):

<!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" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<title>Showroom</title>
</head>
<body>
<div id="autodirector"></div>
<script type="text/javascript" src="http://www.mi-place.co.uk/countyanddefendercentre.co.uk/admin/carlist.php?site=classic&amp;style=yourstylesheet&amp;pagesizes=0"></script>
</body>
</html>

That works in IE and Firefox without issues.
_______________
AutoDirector administrator
Member
Registered: Dec 2009
Posts: 15
Thank you that has fixed the problem. I really appreciate it. I am currently learning Dreamweaver so hopefully will be using better code in the future. Once again many thanks, just going to buy it now.

Jonathan :D

Post Reply

Page: 1