DASH in MAC IE causes carriage return

I *guess* this is a javascript problem.  And it's such a little problem and so maddening.

Look at this page in PC IE or PC Firefox or PC Netscape.  We are talking about the word "START-UP" in the drop down menu.

And it looks fine in those two browsers. But in MAC IE the "-" causes a carriage return.  

Now see this screen capture:


I've tried a regular dash, and a –  both cause carriage returns in MAC IE.

I'm also wondering if modifying the doctype might help. Here's the current doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

Any thoughts on how to fix this?


Rowby GorenAsked:
Who is Participating?
jmcgConnect With a Mentor OwnerCommented:
There's no Perl component to this question that I can see....

One suggestion I found at:


is to add a <NOBR> tag around the problem hyphen:


It's nonstandard but widely supported (I just don't know for sure if Mac IE supports it).


The other thing to try is:

&#8209; non-breaking hyphen as hyphen (U+2011), but not an allowed line break point

Rowby GorenAuthor Commented:
Thanks jmcg

I'll check them out and report back by tthe morning.

Rowby GorenAuthor Commented:
Thanks, jmcg!

Sorry for the tremendous delay in awarding you the points!

A couple of months isn't bad. While doing Cleanup, I've spent time in areas where there were questions more than 2 years old!

You might want to click on the link that says "My Open Questions" and check to see if you have any other old questions that could be closed. As I'm writing this, you have 11 open questions, but I know that several of those are still active.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.