Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Estou desenvolvendo um site em ASP.NET, e estou desenvolvendo no
conceito tableless. Mas, por causa da diferença entre padrões entre
navegadores, estou com proplemas com layout. Minha página no
Internet Explorer 8 em modo de compatibilidate, está do
jeito que eu quero, assim:
/applications/core/interface/imageproxy/imageproxy.php?img=http://cvinnicios.hd1.com.br/tela_1.jpg&key=d7e29fb59ff0bae22aaa00bcfffa855e3ba9ab18ed435552b40cab2800529218" alt="Imagem Postada" />
Figura 1
e assim:
/applications/core/interface/imageproxy/imageproxy.php?img=http://cvinnicios.hd1.com.br/tela_2.jpg&key=81d8055639fbaf42f5b3ddcf7207c16a38d200d2392878eb77d6582f0854577f" alt="Imagem Postada" />
Figura 2
mas, quando executo a página no Internet Explorer sem modo de
compatibilidade, a página fica assim:
/applications/core/interface/imageproxy/imageproxy.php?img=http://cvinnicios.hd1.com.br/tela_3.jpg&key=ba5f063de52c818aa29a13ff3dbd6dac7ad78087dbcc8c6a6e2725db5241759c" alt="Imagem Postada" />
Figura 3
outra página:
/applications/core/interface/imageproxy/imageproxy.php?img=http://cvinnicios.hd1.com.br/tela_4.jpg&key=dbbfc30f0e0c2df85fe7f901f7c148e30971affdb3bb22772c96132680024df3" alt="Imagem Postada" />
Figura 4
e no firefox, fica do mesmo jeito:
/applications/core/interface/imageproxy/imageproxy.php?img=http://cvinnicios.hd1.com.br/tela_5.jpg&key=64409dd5704667a959c17401bbc026dad6a0c8034bf5d66b1f9ed919181b2d2c" alt="Imagem Postada" />
Figura 5
/applications/core/interface/imageproxy/imageproxy.php?img=http://cvinnicios.hd1.com.br/tela_6.jpg&key=a31e3e9fae92036165968eef600cbeac8ef113e515ab06564356126b24d75955" alt="Imagem Postada" />
Figura 6
O meu CSS está assim:
/---------------------------------------------/
/----------------TAGS-HTML--------------------/
*
{
margin: 0;
padding: 0;
} height: 100%;
} background-color: #cfeef9;
font-size: 14px;
font-family: Arial;
background-image: url(imagens/deg_fundo.gif);
background-repeat: repeat-x;
}/----------------SITE-GERAL--------------------/
#site_geral
{
width: 920px;
margin: 0 auto;
height: 85%;
} float: left;
height: 100%;
} width: 10px;
}
#geral_centro width: 900px;
background-image: url(imagens/fundo_site.gif);
background-repeat: repeat-x;
background-color: #ffffff;
}
#geral_borda_esq background-image: url(imagens/mar_esq.gif);
background-repeat: repeat-y;
}
#geral_borda_dir background-image: url(imagens/mar_dir.gif);
background-repeat: repeat-y;
} clear: both;
} float: left;
}
#cabecalho_menu margin-top:37px;
background-image: url(imagens/fundo_menu.gif);
background-repeat: repeat-x;
width: 700px;
height: 42px;
} text-decoration: none;
color: #111111;
font-weight: bold;
padding-left: 10px;
padding-right: 10px;
font-size: 15px;
} text-decoration: underline;
color: #e24545;
font-weight: bold;
padding-left: 10px;
padding-right: 10px;
font-size: 15px;
}
#cabecalho_borda_dir margin-top:37px;
background-image: url(imagens/menu_bor_dir.gif);
width: 9px;
height: 42px;
} clear: both;
width: 900px;
}
/----------------------RODAPE-DA-PÁGINA--------------------/
#rodape
{
clear: both;
height: 93px;
width: 920px;
background-image: url(imagens/rodape_fundo.gif);
background-repeat: repeat-x;
} float: left;
} width: 10px;
height: 93px;
}
#rodape_centro width: 894px;
padding-top: 26px;
padding-left: 6px;
font-size: 11px;
}
#rodape_bor_esq background-image: url(imagens/rodape_mar_esq.gif);
background-repeat: no-repeat;
}
#rodape_bor_dir background-image: url(imagens/rodape_mar_dir.gif);
background-repeat: no-repeat;
}
/------------------EMPRESA-ASPX--------------------/
#empresa_lado_dir, #empresa_lado_esq
{
float: left;
}
#empresa_lado_esq padding-left: 15px;
width: 175px;
}
#empresa_lado_dir padding-left: 10px;
width: 685px;
} list-style-image: url(imagens/mark.gif);
list-style-position: inside;
} vertical-align: middle;
}
.link color: #e24545;
text-decoration: none;
}
.loading width: 725px;
height: 250px;
text-align: center;
padding-top: 150px;
}
.pan text-align: justify;
}<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<%@ Register Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!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">](http://www.w3.org/1999/xhtml)
<head id="Head1" runat="server">
<title>EmpreendaOnline. A sua Contabilidade.com</title>
</head>
<body>
<form id="form" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div id="site_geral">
<div id="geral_borda_esq">
<img </div>
<div id="geral_centro">
<div id="cabecalho">
<div id="cabecalho_logo">
<img src="imagens/logo.gif" alt="logo" />
</div>
<div id="cabecalho_menu">
<img <a href="">Home</a>
<img <a href="../Empresa.aspx">Empresa</a>
<img <a href="">Serviços</a>
<img <a href="">Clientes</a>
<img <a href="">Estrutura</a>
<img <a href="">Contato</a>
</div>
<div id="cabecalho_borda_dir">
</div>
</div>
<div id="conteudo">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" </asp:ContentPlaceHolder>
</div>
</div>
<div id="geral_borda_dir">
<img </div>
<div id="rodape">
<div id="rodape_bor_esq">
</div>
<div id="rodape_centro">
<img src="imagens/rodape_logo.gif" class="alinha" <a href="" class="link">Política de Privacidade.</a>
</div>
<div id="rodape_bor_dir">
</div>
</div>
</div>
</form>
</body>
</html>fique como na Figura 1 e 2 nas maioria dos navegadores? Quais os
erros que eu estou cometendo? Obrigado.
Carregando comentários...