dropdown menu in CSS file & index pg...

User 474778 Photo


Registered User
215 posts

I aim for clarity, so thank you, paintbrush.

However, I might have mentioned four additional ideas:
    When trying something new, apply it just once and then have a look to ensure that it produces what's expected. Moving forward one step at a time avoids confusion.

    The include() idea can fail for reasons as minor as forgetting to provide the semi-colon after the PHP include() statement. Flying blind is not necessary: Use the browser's source-code examination tool to view HTML that the server has sent.

    Much HTML above the <body> tag should vary from one page to another in a particular site. So take care when applying the include() idea in this portion of the page. Study the meaning and use of the DTD (document type definition) and the meta tags. If a browser is unable (metaphorically) to understand the provided DTD, it may (metaphorically) throw up its hands and revert to "compatibility mode" without (metaphorically) uttering a complaint. "Compatibility mode" is a best-effort attempt to usefully render non-standard HTML. As such, "compatibility mode's" results are unpredictable and variable from one browser to another. It's a (metaphorical) jungle out there!

    Various browsers may render the same HTML differently. Though the problem is lessening with time, older MS-Internet Explorer versions are notorious for working outside industry standards. Workarounds are documented on the Web.
halfnium -AT- alum.mit.edu
Yes, I looked just like that in 1962.
User 271657 Photo


Ambassador
3,816 posts

Good to know – Thanks! :D
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 110693 Photo


Registered User
24 posts

david, I created the include files within the editor, thought that was the problem, so then created them from scratch (without all that code at the top) & got a mess, so went back to the Editor to create them again. But I will try them again without all that code, now that the page works in other browsers.

paintbrush, can you tell me where I it shows CC Editor 2008. I do have the latest verson of HTML Editor installed & am using it, so now you've got me wondering if something is pulling old stuff.

Eric, what in particular is interesting, other that all of it of course :) I started with an HTML editor theme, but I'm sure I've messed it up a bit (ok, a lot) trying to get it to work for this site...going from 2 columns in the content area to 3 has been a bit of a challenge, etc. I tried it one way, scapped that & tried a different way, so I'm guessing that didn't help.

halfnium, I will take a look at my code above the <body> tag & see what I can fix.

Thanks all of you, Jess
User 271657 Photo


Ambassador
3,816 posts

<!-- Created with the CoffeeCup HTML Editor 2008 -->
<!-- http://www.coffeecup.com/ -->
<!-- Brewed on 6/30/2009 11:29:19 AM -->

Sorry, Jess... I had seen the first link (with the above info), but not the new one when I posted :o
Looks like you got all the Doctype confusion cleared out :)
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.