That's not possible. You can use DIVs to make something similar to that. But there's no way using the alert() function.