- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 05:10 AM
Can we change font color or font size in client script alert message?
I tried it didn't work. Anyone have any idea to change the font color in alert message?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 05:13 AM
Further research shows that this is a system object, not subject to CSS. You would have to create a "mimic" alert box. Here's one option. It's a bit of work, but I provide it here as a potential solution.
javascript - how to change the style of alert box - Stack Overflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 05:11 AM
Alert messages are presented by the browser. I haven't seen a browser yet that lets you configure the font yet.
Sorry.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 05:13 AM
Further research shows that this is a system object, not subject to CSS. You would have to create a "mimic" alert box. Here's one option. It's a bit of work, but I provide it here as a potential solution.
javascript - how to change the style of alert box - Stack Overflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 05:25 AM
If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
If you are viewing this from the community inbox you will not see the correct answer button. If so, please review How to Mark Answers Correct From Inbox View.
Thank you