How to continue inline tags after <h5> tag
First, see the image below.

the code is here:
<h5> Login!</h5> <table> <tr> <td> User Name: </td> <td> <asp:TextBox ID="_userName" runat="server"></asp:TextBox> </td> <td> Password: </td> <td> <asp:TextBox ID="_password" TextMode="Password" runat="server"></asp:TextBox> </td> <td> <asp:Button ID="_login" runat="server" Text="Login" OnClick="_login_Click" /> </td> </tr> <tr> <td colspan="5"> <asp:Label ID="_wrongDetails" runat="server"></asp:Label> </td> </tr> </table> I want the username immediately after entering the text. I tried the position: inline. but it does not work. or can someone help me get started with css. Thanks at Advance.
+4
2 answers
You need to set the display: inline style in both the h5 tag and the table tag. Then this will not lead to the fact that both tags violate the line and, therefore, display it on the same line.
fix:
<h5 style="display:inline"> Login!</h5> <table style="display:inline"> .. .. Hope this helps you.
+5