Forums Archive Index > SmartMenus 5 > IE cutting off page when menu moused over

Author: Bender

Date: 15 Apr 2005 1:14 pm

I've just discovered a bug I can't figure out.

When looking at a site I'm working on, the bottom of the page cuts off in IE6 when the menu is moused over. An F5 reload brings it back. Firefox doesn't have this problem.

The cut off point is the bottom of some right hand nav that loads up on each page of the website.

It's using Smartmenus 5.2. I tried a quick load of 5.5 but it didn't fix the problem so I kept 5.2 installed since it was already configured.

The site is at paws.adhostclient.com. (We're a non-profit so I'm pretty sure we fall under the noncommercial license)

Is this a fixable bug or does the nature of my PHP included nav present a permanent problem?

any help is appreciated. thanks


Author: smartmenus

Date: 15 Apr 2005 1:40 pm

Wow, that's more than weird. :shock: I have never seen such effect in IE. I will try to investigate the issue and will answer you as soon as I find out something..


Author: smartmenus

Date: 15 Apr 2005 2:59 pm

You have (mis)used a document type declaration that urges IE6 on rendering your page in standards compliant mode. I say "misused" because you have --> http://validator.w3.org/check?uri=http%3A%2F%2Fpaws.adhostclient.com%2F in the source of your page and this obviously confuses IE (for instance, I noted that you have even omitted the closing </body> and </html> tags).

So the easiest solution is to remove the incorrect doctype declaration you have used and let IE6 (as well as all other modern browsers) render you pages in the so called "quirks rendering mode". I saw that when in quirks mode IE6 renders the page correctly.

That would mean you have to replace the following:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
withCode:
<html>at the beginning of the source of your pages.


Author: Bender

Date: 15 Apr 2005 4:58 pm

Replacing that header code worked great.

I know the coding is bizarre but I had to get a complex navigation system that worked under RXML to work in PHP.

The header code I replaced came straight out of a guide book though - PHP and MySQL for Dynamic Web Sites by Larry Ullman so it's interesting to hear that you think its odd.

Thank you for your help. I really appreciate it.


Author: smartmenus

Date: 15 Apr 2005 5:27 pm

No problem at all. I am glad I helped! :)

You probably didn't understand me- I don't think the header is odd- it's just not suitable for the source code of the pages you have built.