How can I make the hidden comment within the same line? Instead of being the next paragraph, like word definitions within a paragraph?
Also, how do I collapse on page load? Which comment do I follow? I’m brand new to this stuff. I tried the code at the top of the page and a couple within the thread. It keeps saying runtime error. One time it “worked” (showed collapsed) but still had an error. that was when i added the elements display to none, i’ve since started over with the first simple collapse code. How is this so hard? The first bit of code is great! In fact, you don’t need the 2nd and 3rd bits of code for elements of your choosing to be collapsed upon page load. Simply write your body tag like this
 
In that example, MyDiv2 and MyDiv3 are the id’s of the divs that you want to have collapsed when you load the page. That way you can keep the javascript to a minimum and still have divs of your choosing collapsed upon page load.