How to increase font size in javascript alert()

后端 未结 3 1203
面向向阳花
面向向阳花 2021-01-17 14:48

Can I control the font size of the string in a javascript alert() call??!

I\'ve the image below and I want to increase the font size so that it is legib

3条回答
  •  天涯浪人
    2021-01-17 15:24

    Can I control the font size of the string in a javascript alert() call??!

    Nope. How the alert window is rendered is entirely up to the browser.

    You would have to use a JavaScript based dialog windows alternative like jQuery UI Dialog.

提交回复
热议问题