mercredi 6 mai 2015

Bootstrap centers the table

I am new to bootstrap 3,

The problem is the following bootstrap code always Centers the table:

enter image description here

I tried to find a class which may make table so on the left side of page but so far no luck.

Is there such a class and why table show on center?

<div id="registerdiv3" class="row">
        <div class="col-lg-5 ">
            <table>
                <tr>
                    <td id="regPageTitle">User Registration </td>
                </tr>
                <tr>
                    <td>User Name:</td>
                    <td>
                        <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Password:</td>
                    <td>
                        <asp:TextBox ID="txtPassword" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Confirm Password:</td>
                    <td>
                        <asp:TextBox ID="txtConfirmPassword" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Email:</td>
                    <td>
                        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                    </td>
                </tr>

                <tr>
                    <td></td>
                    <td>
                        <asp:Button ID="btnRegister" Text="Register" runat="server" OnClick="btnRegister_Click"></asp:Button>
                    </td>
                </tr>

                <tr>
                    <td>
                        <asp:Label ID="lblMessage" CssClass="lblMessage" Text="" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </div>

Aucun commentaire:

Enregistrer un commentaire