Welcome to WebmasterWorld Guest from 54.145.85.87

Forum Moderators: open

Message Too Old, No Replies

conescutive whitespace in an alert box

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

New User

10+ Year Member

joined:Dec 29, 2004
posts:28
votes: 0


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

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

Full Member

10+ Year Member

joined:Jan 9, 2003
posts:330
votes: 0


Use ' ' Which is for new blank space I think.
1:18 pm on Apr 6, 2005 (gmt 0)

New User

10+ Year Member

joined:Dec 29, 2004
posts:28
votes: 0


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

regards tores

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

Junior Member

10+ Year Member

joined:Jan 19, 2005
posts:147
votes: 0


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]

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 14, 2004
posts:1181
votes: 0


I don't think you are going to find what you want for Moz/FF. Might I suggest the kludge: " - "?
5:19 pm on Apr 6, 2005 (gmt 0)

Senior Member

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

joined:Nov 28, 2004
posts:7999
votes: 0


  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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members