• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to change font for alert box using Javascript

 
Harsha Jay
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends

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

Thanks

Harsha
 
Garann Means
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic