You should use Tables or DIV to make the triangle for the login controls.
If you are Newbie to Web development I will prefer you to use Table. Example HTML for your triangle can be
<table style="width: 100%; background-color: Grey;">
<!-- Your Login controls here -->
You can place above code at the place where you want to use login controls. You can adjust color, width and height as per your need.