Paul is being a bit polite about it being ‘fragile’ - hat is a buggy bloated train wreck I wouldn’t even TRY throwing silver bullet fixes at since the methodology is flawed right to the core. That it’s even dicking with z-index on such a simple layout is just one of many tells that really, you need to throw that out and start over… as evidenced by the CSS inlined in the markup, redundant CSS on empty elements, outdated presentational markup techniques, presentational images in the markup…
Let’s put it this way - when you have a 35k HTML file for 2.9k of plain text? You’re doing it all wrong. Nothing even worth TRYING to save on that page. Lemme guess, some wysiwyg saddled you with that trash?
Little tip - if you have 4k of markup before you even get to the BODY tag… if you have more than three link tags, more than two script tags,… if you are resorting to that IE conditional comment garbage for CSS - you are probably doing it ALL WRONG.
35k of markup, two external documents, 401k in images, 16 javascripts totalling 263k, 100K of CSS in 10 FILES!?!?! Mein gott.
I’ll show you what I mean… since this is “rewrite sunday” for me. I’ll do a rewrite of your main page after dinner to illustrate what I mean. First thing on the lesson plan is probably pitching ALL of the javascript for nothing in the trash.
– edit – or not, I’d have to throw out or remaster all the images too since it’s all done with that alpha transparency nonsense for no good reason… with large sections of content still as images.
Yeah, do yourself a favor, pitch the entire mess and start over.
Then remove the IE7 styles for that element because browsers will now be the same.
You really should have built a background around the menu itself and not put the menu on the background of a distant parent as that is a fragile approach that breaks on text resize.
yea i understand that there is a lot of stuff that could be rewritten, but it runs fine so its not really one of my concerns atm. but thanks paul, the menu now shows up in ie7, however it is shifted to the right by about 100 pixels. it works fine in firefox and safari though.