Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to center something in an alert box 1

Status
Not open for further replies.

estesflyer

Programmer
Dec 19, 2000
284
US
hey, here is my script, for all i know, I have to hold down spacebar to get a certain line of text in a certain place, is there any way i can skip a line or two, and center a line? like, in html, there is the <br> and the <center> commands in html, is there anything like that in javascript, that i can use in an alert box
 
oops, forgot the script


<script language=&quot;javascript&quot; type=&quot;text/javascript&quot;>
<!--

var confirmation = window.confirm(&quot;The creator of this page or the ISP hosting any content on this site take NO responsibility for the way you use the information provided on this site. These files and anything else on this site are here for private purposes only and should NOT be downloaded or viewed whatsoever! If you are affiliated with any government, or ANTI-Piracy group or any other related group or were formally a worker of one you can NOT enter this web site, cannot access any of its files and you cannot view any of the HTML files. All the objects on this site are PRIVATE property and are not meant for viewing or any other purposes other then bandwidth space. DO NOT ENTER whatsoever! If you enter this site you are not agreeing to these terms and you are violating code 431.322.12 of the Internet Privacy Act signed by Bill Clinton in 1995 and that means that you can NOT threaten our ISP or any person(s) or company storing these files, cannot prosecute any person(s) affiliated with this page which includes family, friends or individuals who run or enter this web site. Do you agree to these terms and conditions?&quot;);

if (confirmation)
{
window.location=&quot;}
else
{
history.go(-1);
}
//-->
</script>
 
umm, i don't think you can, unless you just space it out. adam@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top