4 replies [Last post]
bethanywatson
Offline
Regular
WV
Last seen: 14 years 19 weeks ago
WV
Joined: 2008-06-07
Posts: 13
Points: 0

Hello. The site I created is a Joomla site and it works well in IE7 and Firefox, but in IE6 the suckerfish menu is not functioning. The layout is not centered like it should be. Can you help me find out what to change in my CSS code so that it will function correctly in IE6? Is the doctype correct? Please help me fix what is wrong. the url is www. bwnps .com

I would really really appreciate your help. I am still a newbie to CSS.

David Laakso
David Laakso's picture
Offline
Enthusiast
US
Last seen: 14 years 14 weeks ago
US
Joined: 2008-07-18
Posts: 265
Points: 0

You may want to change your

You may want to change your doctype to something more suitable. XHTML 1.1 should be served as application/xhtml+xml, not text/html.

For example, XHTML 1.0 Strict may be more appropriate:

The xml declaration you have above the doctype is specifically used to put IE/6 and down in "quirksmode." It is used on purpose, and with good and sound reason, by some very experienced authors. More often than not, though, it is simply a cut and paste pick up. It may or may not adversely effect the menu.

Either way, you'll want to correct the 172 markup validation errors before anyone may seriously devote their time to degugging IE for you.

SidP7
Offline
Regular
Last seen: 14 years 11 weeks ago
Joined: 2008-06-19
Posts: 29
Points: 0

The menu shows up fine when

The menu shows up fine when I viewed it with IE6, and most of the 195 validation errors you have are all syntactical. Fix them if you care about SEO and the overall ranking of your page. If there is a problem with the suckerfish menu when viewed by IE, you probably need to add a * somewhere in the CSS as IE6 is full of quirks that don't conform to CSS specifications.

bethanywatson
Offline
Regular
WV
Last seen: 14 years 19 weeks ago
WV
Joined: 2008-06-07
Posts: 13
Points: 0

The menu is working now - but still need some help

The menu is working now because the sfhover javascript had been erased from the code accidentally. So I fixed that. I fixed all of the validation errors that I could. Now, most of the errors are due to non SEF Joomla urls built into the menu, which I am going to fix. There is one thing I am still trying to figure out...the layout is not centered in IE6 as it should be, and it is centered in firefox and IE7. Also, the parent level indicator arrows are not as far to the left as when seen in firefox, which causes one of them menu items to word wrap. Is there a png transparency fix that will work with the sfhover script? When I implement the pngfix javscript, then the hover does not work on the menu anymore.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 38 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Remove this, "<?xml

Remove this, "<?xml version="1.0" encoding="iso-8859-1"?>" from your document. That causes IE6 to not play nicely with the rules.

Not tested, but it may fix the dropdowns, too. Until you get IE6 into standards mode by deleting the xml declaration, x-browser compatibility debugging is not reasonable.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.