Welcome to WebmasterWorld Guest from 54.147.44.93

Forum Moderators: open

Message Too Old, No Replies

conescutive whitespace in an alert box

     

tores

11:47 am on Apr 6, 2005 (gmt 0)

10+ Year Member



Hi

How can I get more than one consecutive whitespace in an alert box. I've tried with \t and multiple spaces after one another, but in the alert-box it all renders to just one space...
I'm running Firefox.

regards tores

globay

11:55 am on Apr 6, 2005 (gmt 0)

10+ Year Member



Use ' ' Which is for new blank space I think.

tores

1:18 pm on Apr 6, 2005 (gmt 0)

10+ Year Member



Unfortunatly html-tags doesn't render in alert-boxes, so ' ' won't do it.

regards tores

SpaceFrog

1:38 pm on Apr 6, 2005 (gmt 0)

10+ Year Member



what browser are you testing with?

alert("hello world")
works perfectly on my side

except for it does not render properly on forurm ...

[edited by: SpaceFrog at 2:12 pm (utc) on April 6, 2005]

Rambo Tribble

1:55 pm on Apr 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't think you are going to find what you want for Moz/FF. Might I suggest the kludge: " - "?

rocknbil

5:19 pm on Apr 6, 2005 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



  is a non-breaking line space, and I have found what Rambo says to be the case - you can format your alerts pretty will in MSIE but not the Mozillas.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month