English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

hi
is it possible to display a right aligned message through window.alert API?

2007-03-22 01:04:23 · 2 answers · asked by mephelistomelas 1 in Computers & Internet Programming & Design

2 answers

No. The alert window is formatted according to the OS settings. You can add escape characters (such as \n for a new line) to help re-arrange the text. But as much as you can't bold or hyperlink text in an alert window, you can't apply formatting commands.

2007-03-22 01:09:58 · answer #1 · answered by DNA-Groove 3 · 0 0

Is this for a form validation alert messages?

There is an alternative route. http://www.mozilla.org/access/dhtml/alert

2007-03-22 04:08:14 · answer #2 · answered by The First 3 · 0 0

fedest.com, questions and answers