The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Very Strange Problem when using CSS with a Frameset

An application I'm working on consists of 2 frames - One down the left for navigation, and then one on the right for content.

I've created the navigation by using CSS, which also includes drop down sub menus which can be opened & closed using a javascript "display: none; / block;" switcher on mouseclick.

This page seems to work fine when viewed on its own - but as soon as it is dropped into the frameset, the submenus lose some of their style. This has confused the hell out of me, and so have begun to wonder if there are any porblems associated with using CSS and framesets that I'm unaware of?

When tesing locally, it all works fine - even in the frameset, but as soon it is uploaded it breaks. Also, another stange problem is that it will suddenly find it's style and work correctly - only for me to come into the office the next day and find it broken again!?

I'll post the code in case anyone can offer any advice, plus I'll attach a picture of how the submenus look upon losing their style.

The css looks ok. I've just copied it into a frameset locally and it all works as expected so I can't see any problems there.

Try stripping the page down to a minimum and see what exactly is going wrong. Try changing the submenu styles to be visible on loading and see if the yare styled.

I think its going to be a matter of trial and error unless somenoe else has a similar experience and can shed some light on it. Problems before where css hasn't been showing up have been related to server problems and settings etc.