File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes how to change font for alert box using Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to change font for alert box using Javascript" Watch "how to change font for alert box using Javascript" New topic
Author

how to change font for alert box using Javascript

Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
Dear Friends

How to change font size etc on a alert message in Javascript?

Thanks

Harsha
Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
I don't think you can do that. The alert box comes from the browser, not your HTML. You could, however, make a fake alert box using Javascript and CSS, and set the font to anything you want.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to change font for alert box using Javascript
 
Similar Threads
javascript alert title
change font size or color in javascript alert box
Printing from JSP
Fontsize on Alert Boxes
Swing / JFC / AWT