如何在JavaScript Alert()中增加字体大小 [英] How to increase font size in javascript alert()
本文介绍了如何在JavaScript Alert()中增加字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以在javascript alert()
调用中控制字符串的字体大小吗?!
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 legible.
推荐答案
我可以在javascript alert()调用中控制字符串的字体大小吗?!
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.
您将不得不使用基于JavaScript的对话框窗口替代方法,例如 jQuery UI对话框.
You would have to use a JavaScript based dialog windows alternative like jQuery UI Dialog.
这篇关于如何在JavaScript Alert()中增加字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文