Jump to content


Photo

[resolvido] Posição Da Div Incorreta Nos Ie


  • Faça o login para participar
5 replies to this topic

#1 ThiagoRezende

ThiagoRezende

    Novato no fórum

  • Usuários
  • 7 posts
  • Sexo:Masculino
  • Localidade:Curitiba - PR

Posted 21/08/2009, 15:40

Bom dia pessoal, estou com mais um problema...

Estou criando um site somente com utilização de div's, porém nao consigo posicionar uma div sobre a outra no IE, o posicionamento funciona no firefox, chrome, ópera, safari.... menos nos IE..

preciso que a "div SUB" flutue sobre a "div TOP", mas no IE a "div SUB" se posiciona ao final da "div TOP" no bottom e right dela...

segue imagens para a visualização do problema:

Posição correta (firefox e outros):

Posted Image

Posição ERRADA (IE's):

Posted Image


Segue códigos:

HTML:

<!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> 

<meta http-equiv="content-type" content="text/html; charset=utf-8"/> 

<style>@import "lynx.css";</style>
&lt;script type="text/javascript" src="swfobject.js"></script>
<title>Lynx Eventos & Treinamentos</title>
</head>
<body>
<div id="container">
   
<div id="leftbg"> </div>
<div id="middlebg">
<div id="sub"> </div>
<div id="top" class="top"></div>
	&lt;script type="text/javascript">
		var so = new SWFObject("top.swf", "top", "780", "145", "9.0", "#ffffff");
		so.addParam("quality", "high");
		so.addParam("wmode", "transparent");
		so.write("top");</script>
<div id="contents">
<div id="atuacao"> </div>
</div>
</div>
</div>
<div id="rightbg"> </div>
</div>	   
</body>
</html>

CSS

@charset "UTF-8";

/*GERAIS*/
html, body {height:100%; margin:0; padding:0; border:0; background-color:#7e7e7e; overflow-x: hidden; overflow-y: auto;}

/*MONTAGEM*/
#container{width:100%; height:100%; background:#7e7e7e;}
#leftbg{width: 50%; height:100%; display:block; float:left; margin-left: -390px; background:url(imgs/bgsite_left.jpg) top right repeat-x;}
#middlebg{width: 780px; height:auto; display:block; float:left; margin:auto; z-index:1; background:url(imgs/bg_contents.gif) top left repeat-y;}
#rightbg{width: 49%; height:100%; display:block; float:left; margin-right:-390px; background:url(imgs/bgsite_right.jpg) top left repeat-x;}

.top{ width:780px; height:145px; float:left; display:block;}
#sub{width:200px; height:200px; background-color:#FF0000; float:left; z-index:21; position:absolute; margin:0px; padding:0px; display:block;}

#contents{ width:780px; height:auto; min-height:320px; display:block; padding-bottom:15px; float:left; background:url(imgs/bg_contents_top.gif) top left no-repeat;}
#bottom{ width:780px; height:80px; display:block; float:left; background:url(imgs/bg_bottom.gif) top left no-repeat;}

/*BANNERS*/
#atuacao{ width:710px; height:210px; display:block; float:left; margin:25px 0px 0px 35px; background:url(fla_imgs/atuacao_guide.jpg) top left no-repeat;}


Alguma solução? desde já, grato.

RESOLVIDO > retirei o float da "div TOP" e funcionou corretamente nos IE também.

#2 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 18/09/2017, 12:16

Precio Viagra Gibraltar cialis Kamagra Jelly Amazon Cheap Tadapox Pyridium Increased Urination Cialis 20 Mg Effets Il Prezzo Di Kamagra cialis Buy Nolvadex Online
Best Place To Get Viagra Online generic cialis Hctz No Rx
Real Viagra For Sale Caracteristiques Clomid
Comprar Cialis Online Foro <a href=http://cialtobuy.com>online pharmacy</a> Cialis E Levitra Effetti Collaterali

#3 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 06/10/2017, 10:08

Propecia Acquista Levitra Nuovo Amoxicillin Uses For Dogs where to purchase low cost levitra Dutasteride By Money Order Viagra Per Diabetici
Asa And Cephalexin Cross Sensitivity Finishing Amoxicillin Acne Generic Propecia viagra Viagra Kaufen Ohne Rezept De Best Price 100mg Generic Viagra Cytotoxic Misoprostol Comprar
Trusted Meds Online Traductor Propecia Gabapentin To Buy Without Prescription cialis online Kaufen Cialis 20mg Where Can I Buy Online Fluoxetine Without Rx

#4 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 22/10/2017, 07:43

Amoxicillin Disk Susceptibility Test Propecia Online No Prescription Viagra viagra online Generisches Cialis Soft Best Buy Stendra No Prior Script El Paso
Cialis 20mg De Abilify Price Non Prescription only here what is levitra Taking Amoxicillin On An Empty Stomach Clomid 5000

#5 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 02/11/2017, 04:28

Where To Purchase Tretinoin viagra Does Cialis Work Aggrenox Homeopathic Amoxicillin For Pets

#6 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 29/11/2017, 17:56

Erectile Dysfunction Drugs Canada vivanza 20mg Dapoxetine 60mg Cialis Livraison 24h Finasteride Vs Propecia Hair Loss Treatment
Priligy Peru viagra Using Levitra Everyday




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq