php/js/shtml help

Started by Alynn, Sat 05/08/2006 09:13:24

Previous topic - Next topic

Alynn

Ok well I have a js based menu that works fine in all my shtml pages:example

However when putting the header on my wordpress and my forums the js formatting is completely hosed: forums and wordpress.

To me it seems that the css for the forums and wordpress are overriding the js settings, however that doesn't happen with my shtml file.

All of the files use includes either server side includes for my shtml, or php includes for the forums and wordpress...

I'm basically a php n00b... I've never really used it, but I can understand it enough to make small edits. CSS I know fairly well. But this issue I can't seem to figure out how to fix...

So can anyone out there with some experience give me an idea of how to fix it so that my menu formatting isn't destroyed by my wordpress and forums?

Thanks.

fred

Hey Alynn, nice drop down menus. It seems they still work in Mozilla Firefox, although they still look a little different from on the error free pages. IE messes them up completely, they no longer drop down.

If you haven't found a solution yet, you might want to check some other free scripts for drop down menues:  Drop down menus

Alynn

I found what it was.

It seems that all my shtml pages had the HTML transitional doctype, wordpress and my forums used XHTML doctype... I changed the document types and now both display correctly... Now I just have to edit the forums a bit since they are now displayed slightly different... and fiddle some with wordpress :)

Anyway thanks for those that helped

SMF spam blocked by CleanTalk