This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • 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