Q:

Styling C# Alert Box

I am very new to C#.net programming...I have a good background with Html5 and Css3 and some JavaScript...
I am trying to figure out how to style the below alert box...I have searched the net and forums...this is my first post here...haven't been able to figure it out...
Please let me know if you need anymore info...thank you...
Below is the C# Code
protected void IsValidNumber(object sender, EventArgs e)
{

  int num;

  if (Int32.TryParse(TextBox1.Text, out num))
  {
    Response.Redirect("checkin.aspx");
  }
  else
  {
    ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + TextBox1.Text + "');", true);
  }
}

A:

You can't style alert boxes. Those are the property of the browser alone.
However, what you can do is create the popup using HTML and CSS inside a hidden DIV, and display it whenever you want. Jquery makes this easy

