xhtml/css: Menu's not working in IE?!

He has: 4 posts

Joined: Dec 2004

I am working on a new site for my band, and have run into a problem.
I've just left table-based design for div's and css, so I have no idea how to fix this...

The menu is simple html (or php actually, but the problem is the same if I make it as html).
It works perfectrly in Opera 7.54 and Firefox 1.0, but in IE6 it's not working at all...with one exception: if the background image doesn't load, the menu works.

Check it out:

Site: paperandwine.com/ny/index.php?menu=band.php
CSS: paperandwine.com/ny/style.css

(BTW: none of the links in the menu actually works, since I haven't made the pages yet, but you'll see the problem anyway)

Oh...and If someone running Konqueror and Safari could fix me up with a screenshot that'd be nice to. My linux-box practically burned down recently, and I haven't got the cash for a new CPU Sticking out tongue

Busy's picture

He has: 6,151 posts

Joined: May 2001

could be the * html #around or the min-height: 100%; in around,

you shouldn't use page names and extensions as it's an invite for a hack attempt.
If you must use the page main, just use the name and not the extension, ie: index.php?menu=band and have $menu = $menu.".php"; or something, but also check $menu doesn't include http, www, /, .., ./ etc

He has: 4 posts

Joined: Dec 2004

I'm sorry...you lost me Sticking out tongue

Busy's picture

He has: 6,151 posts

Joined: May 2001

which bit?
the second bit should say page name instead of page main - was late Wink

He has: 4 posts

Joined: Dec 2004

Everything.
Or...I think I understand where you're going, actually. You're advising me to put in a "+.php" in my switch-thing, so that a menu-link can be index.php?menu=band instead og index.php?menu=band.php? Right?
I dont know how to Smiling

Well...over to the original problem.
I got this answer from another forum:

Quote: http://www.paperandwine.com/ny/sleightbg.js fixes the png rendering in MSIE, but causes the menu to fail.

Anyone who has an idea of how to fix this, without having to use an ugly tranparent .gif instead of a nice .png?

He has: 4 posts

Joined: Dec 2004

PROBLEM SOLVED!

I put a "position: relative;" in #menu...

Laughing out loud

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.