Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/10/2008, 09:14
kojikabutosv
 
Fecha de Ingreso: febrero-2008
Mensajes: 31
Antigüedad: 16 años, 3 meses
Puntos: 0
porqué se ve diferente en el browser

Buenos días, estoy iniciando en el aprendizaje de .NET y quisiera saber porqué en modo diseño se ve de una manera pero cuando lo veo en el IE los texbox se ven más abajo.

Estoy usando Visual Studio 2008. Muchas gracias por su ayuda.

el código es el siguiente:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="rubros.aspx.cs" Inherits="rubros" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript">

function pageLoad() {
}

</script>
<style type="text/css">
#form1
{
height: 388px;
}
.style1
{
width: 82px;
height: 46px;
}
.style2
{
width: 294px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server" />
</div>
<div class="style1" style="position: absolute">
<asp:Label ID="Label1" runat="server" Text="Rubro"></asp:Label>
<br>
<asp:Label ID="Label2" runat="server" Text="Descripción"></asp:Label>
</div>
<div class="style2"
style="left: 96px; height: 47px; position: absolute; top: 48px;">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<br>
<asp:TextBox ID="TextBox2" runat="server" Height="22px" Width="291px"></asp:TextBox>
</div>
</form>
</body>
</html>