Solved

window.alert centering and underlining

Posted on 2011-09-19
3
296 Views
Last Modified: 2012-05-12
    When I create one of those Javascript alert boxes using window.alert, is it possible to center and/or underline some of the text?
0
Comment
Question by:john8217
3 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 250 total points
ID: 36560483
no, but your can use your own boxes, for example : http://www.scriptiny.com/2008/04/custom-javascript-dialog-boxes/
0
 
LVL 30

Expert Comment

by:LZ1
ID: 36560557
As leakim suggested, you can use a custom solution. Otherwise the dialog boxes are mostly browser/OS based. You will have very (if any) control over appearance/styling/aesthetics in general.
0
 

Author Closing Comment

by:john8217
ID: 36580808
Thanks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now