[SOLVED] CSSMenu.js and IE8

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
postiffm
Forum Members
Forum Members
Posts: 128
Joined: Tue Nov 30, 2010 12:16 am

[SOLVED] CSSMenu.js and IE8

Post by postiffm »

Site new.fellowshipbibleannarbor.org
CMS 1.9.1, just upgraded from 1.4.1.
PHP 5.2.13, was 4.3.9 before upgrade
Apache 2.2.15 on Linux 2.6.18

On Chrome 7.0.517.44 my centered horizontal menu works well. Also works OK on Firefox 3.6.12.
On IE8 (8.0.7600.16385) the menu is all the way to the left and, more importantly, the "pull down" part doesn't work.

I've tried to figure this out by searching the forums and google, but I can't quite put it all together.

I have added the following to the head section of my template:


 



I have made cosmetic changes to the Default CSSMenu Horizontal stylesheet.

Do you have any ideas?

[After consultation with the doctor, I fixed all my html errors and wala, things started working. Thanks to http://validator.w3.org!]
Last edited by postiffm on Tue Nov 30, 2010 6:32 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSSMenu.js and IE8

Post by Dr.CSS »

Good chance it may work if you fix the html errors...

http://validator.w3.org/check?verbose=1 ... bor.org%2F

That line should read as that is the browser that needs help...
postiffm
Forum Members
Forum Members
Posts: 128
Joined: Tue Nov 30, 2010 12:16 am

Re: CSSMenu.js and IE8

Post by postiffm »

Doctor,

Thanks for the pointer on the if IE 6 condition--I saw several places in the forums with just "if IE" so but that must have been old enough stuff that the later IEs weren't out yet.

I'm working through the html errors now. Several of them say something like this:

Line 9, Column 62: NET-enabling start-tag requires SHORTTAG YES


This code is generated (by cmsms?) from the {metadata} tag with showbase (defaulting to) true. How do I get rid of the / at the end of the line?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSSMenu.js and IE8

Post by Dr.CSS »

Most likely from using the frameset DTD, try this one...




Note the html call above, so you don't call it twice in your template...
Post Reply

Return to “Layout and Design (CSS & HTML)”