samedi 4 juillet 2020

Arrange Table In Center With Different Column in website?

Table to arrange in center, has one row has one more column than other row (see screenshot). Please help me to arrange in center of screen, except red color font to be fixed at right side.

enter image description here

Here is code..

[![<table>
        <tr>
            <td>
                <asp:Label runat="server">Select Country : </asp:Label>
            </td>
            <td>
                <asp:DropDownList runat="server">
                    <asp:ListItem>America</asp:ListItem>
                    <asp:ListItem>Brazil</asp:ListItem>
                    <asp:ListItem>Canada</asp:ListItem>
                    <asp:ListItem>Denmark</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label runat="server">Select State : </asp:Label>
            </td>
            <td>
                <asp:DropDownList runat="server">
                    <asp:ListItem>--Select--</asp:ListItem>
                </asp:DropDownList>

            </td>
        </tr>
        <tr>
            <td>
                <asp:Label runat="server">Select City : </asp:Label>
            </td>
            <td>
                <asp:DropDownList runat="server">
                    <asp:ListItem>--Select--</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label runat="server">Select Specific Code : </asp:Label>
            </td>
            <td>
                <asp:DropDownList runat="server">
                    <asp:ListItem>--Select--</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                <asp:Label runat="server" ForeColor="Red">Code Format is Country_State_CityCode</asp:Label>
            </td>
        </tr>
    </table>]



Aucun commentaire:

Enregistrer un commentaire