PDA

View Full Version : New IE creates problems



mscott03
17 Sep 2007, 05:55 PM
In my javascript pop down menu this code:

mm_menu_0630134909_0.addMenuItem("Vision and Values","location='/vision_values.htm'");

I noticed after my department upgraded to IE 7, the spaces in the "Vision and Values" acts as a return.

IE 6 appears fine, in one line, but IE 7 messes it up;

Vision
and
Values

Has anyone notice this problem with their stuff, and does anyone have a solution for this?

alvo
17 Sep 2007, 06:15 PM
  in place of the spaces will create space in the text and obviously remove them in the code. If you want the spaces to act like regular spaces (and allow line breaks, if necessary), you could put in the HTML entity for a space character (which off hand I don't remember).