Foro de elhacker.net

Programación => .NET (C#, VB.NET, ASP) => Mensaje iniciado por: Fixxed en 2 Abril 2016, 17:40 pm



Título: Dos controles a la misma altura
Publicado por: Fixxed en 2 Abril 2016, 17:40 pm
Hola a todos, tengo un problema en ASP.NET. Quiero poner un label y un botón a la misma altura, pero el diseñador no me deja.

Aquí el código:

Código
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head runat="server">
  3.    <style type="text/css">
  4.        body {background-color: black}
  5.    </style>
  6.  
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  8.    <title></title>
  9. </head>
  10. <body>
  11.    <asp:Label ID="Label1" runat="server" CssClass="Titulo" Text="Label" Height="50px" Width="1900px"></asp:Label>
  12.  
  13.    <form id="form1" runat="server">
  14.        <asp:Button ID="Button1" runat="server" Height="47px" Text="Registrarse" BorderStyle="None" Width="213px"/>
  15.    </form>
  16. </body>
  17. </html>
  18.  

(https://i.gyazo.com/6295f1cec6a42fd8c1a57379339e115f.png)

Lo que quiero por si no me entienden, quiero poner el botón "Registro" al lado de: Label