Plm pour centrer mon site sous IE 7 aidez moi [Résolu/Fermé]
Signaler
caporay
caporay
- Messages postés
- 61
- Date d'inscription
- mardi 27 novembre 2007
- Statut
- Membre
- Dernière intervention
- 29 novembre 2010
caporay
- Messages postés
- 61
- Date d'inscription
- mardi 27 novembre 2007
- Statut
- Membre
- Dernière intervention
- 29 novembre 2010
A voir également:
- Plm pour centrer mon site sous IE 7 aidez moi
- Plm pour centrer mon site sous IE 7 aidez moi ✓ - Forum - Webmaster
- Comment centrer mon site web avec IE ✓ - Forum - Webmaster
- Site de la Fnac.com : IE 7 Plante ✓ - Forum - Internet Explorer
- Centre traitement sita colis ✓ - Forum - Internet / Réseaux sociaux
- Probleme centre de solution hp windows 7 ✓ - Forum - Logiciels
4 réponses
PafLeChat
tu pourrais identifié la partie du code qui te ne fonctionne pas comme tu veut sa serai sympa car se taper des kilomètre de code pour un problème de centrage c'est assez découragent
caporay
- Messages postés
- 61
- Date d'inscription
- mardi 27 novembre 2007
- Statut
- Membre
- Dernière intervention
- 29 novembre 2010
voila a peu près la partis qui ne marche pas le css.
<!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=iso-8859-1" />
<title>Document sans titre</title>
<style type="text/css">
<!--
html, body {
margin: 0;
padding: 0;
text-align: center;
}
#conteneur {
position: relative;
margin: 0 auto;
width: 900px;
text-align: left;
}
#Layer2 {
position:absolute;
left:15px;
top:158px;
width:83px;
height:5px;
z-index:1;
}
#calqcategories {
position:absolute;
left:9px;
top:204px;
width:226px;
height:627px;
z-index:2;
background-color: #F4F4F4;
}
#Layer4 {
position:absolute;
left:7px;
top:331px;
width:32px;
height:29px;
z-index:3;
}
#Layer5 {
position:absolute;
left:451px;
top:284px;
width:184px;
height:147px;
z-index:3;
}
#Layer3 {
position:absolute;
left:0px;
top:0px;
width:452px;
height:226px;
z-index:3;
}
#calqordi {
position:absolute;
left:231px;
top:396px;
width:126px;
height:51px;
z-index:3;
}
#Layer7 {
position:absolute;
left:347px;
top:320px;
width:20px;
height:5px;
z-index:4;
}
#animapfoto {
position:absolute;
left:364px;
top:397px;
width:126px;
height:79px;
z-index:4;
}
#Layer8 {
position:absolute;
left:289px;
top:915px;
width:136px;
height:68px;
z-index:5;
}
#Layer9 {
position:absolute;
left:678px;
top:364px;
width:65px;
height:46px;
z-index:6;
}
#Layer10 {
position:absolute;
left:380px;
top:494px;
width:92px;
height:81px;
z-index:7;
}
#Layer11 {
position:absolute;
left:348px;
top:517px;
width:65px;
height:74px;
z-index:8;
}
#Layer12 {
position:absolute;
left:230px;
top:744px;
width:122px;
height:94px;
z-index:9;
}
#Layer13 {
position:absolute;
left:231px;
top:560px;
width:68px;
height:112px;
z-index:10;
}
#Layer14 {
position:absolute;
left:442px;
top:789px;
width:141px;
height:146px;
z-index:11;
}
#calqanimehaut {
position:absolute;
left:14px;
top:16px;
width:800px;
height:152px;
z-index:12;
}
#calqboutacceil {
position:absolute;
left:10px;
top:176px;
width:50px;
height:20px;
z-index:13;
}
#calqcomparer {
position:absolute;
left:136px;
top:176px;
width:73px;
height:19px;
z-index:14;
}
#calqcommentaire {
position:absolute;
left:263px;
top:176px;
width:68px;
height:9px;
z-index:15;
}
#calqnouecrir {
position:absolute;
left:507px;
top:176px;
width:23px;
height:3px;
z-index:16;
}
#calqinscription {
position:absolute;
left:387px;
top:176px;
width:69px;
height:17px;
z-index:17;
}
#calqdescription {
position:absolute;
left:240px;
top:202px;
width:578px;
height:191px;
z-index:18;
background-color: #F4F4F4;
}
#calqdessoupub {
position:absolute;
left:600px;
top:421px;
width:210px;
height:213px;
z-index:19;
}
#calqpub {
position:absolute;
left:601px;
top:396px;
width:210px;
height:27px;
z-index:20;
background-color: #F4F4F4;
}
#calqvertical {
position:absolute;
left:591px;
top:394px;
width:10px;
height:36px;
z-index:0;
}
a:link {
color: #999999;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #333333;
}
a:hover {
text-decoration: none;
color: #333333;
}
a:active {
text-decoration: none;
color: #333333;
}
#Layer6 {
position:absolute;
left:397px;
top:657px;
width:71px;
height:20px;
z-index:21;
}
<!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=iso-8859-1" />
<title>Document sans titre</title>
<style type="text/css">
<!--
html, body {
margin: 0;
padding: 0;
text-align: center;
}
#conteneur {
position: relative;
margin: 0 auto;
width: 900px;
text-align: left;
}
#Layer2 {
position:absolute;
left:15px;
top:158px;
width:83px;
height:5px;
z-index:1;
}
#calqcategories {
position:absolute;
left:9px;
top:204px;
width:226px;
height:627px;
z-index:2;
background-color: #F4F4F4;
}
#Layer4 {
position:absolute;
left:7px;
top:331px;
width:32px;
height:29px;
z-index:3;
}
#Layer5 {
position:absolute;
left:451px;
top:284px;
width:184px;
height:147px;
z-index:3;
}
#Layer3 {
position:absolute;
left:0px;
top:0px;
width:452px;
height:226px;
z-index:3;
}
#calqordi {
position:absolute;
left:231px;
top:396px;
width:126px;
height:51px;
z-index:3;
}
#Layer7 {
position:absolute;
left:347px;
top:320px;
width:20px;
height:5px;
z-index:4;
}
#animapfoto {
position:absolute;
left:364px;
top:397px;
width:126px;
height:79px;
z-index:4;
}
#Layer8 {
position:absolute;
left:289px;
top:915px;
width:136px;
height:68px;
z-index:5;
}
#Layer9 {
position:absolute;
left:678px;
top:364px;
width:65px;
height:46px;
z-index:6;
}
#Layer10 {
position:absolute;
left:380px;
top:494px;
width:92px;
height:81px;
z-index:7;
}
#Layer11 {
position:absolute;
left:348px;
top:517px;
width:65px;
height:74px;
z-index:8;
}
#Layer12 {
position:absolute;
left:230px;
top:744px;
width:122px;
height:94px;
z-index:9;
}
#Layer13 {
position:absolute;
left:231px;
top:560px;
width:68px;
height:112px;
z-index:10;
}
#Layer14 {
position:absolute;
left:442px;
top:789px;
width:141px;
height:146px;
z-index:11;
}
#calqanimehaut {
position:absolute;
left:14px;
top:16px;
width:800px;
height:152px;
z-index:12;
}
#calqboutacceil {
position:absolute;
left:10px;
top:176px;
width:50px;
height:20px;
z-index:13;
}
#calqcomparer {
position:absolute;
left:136px;
top:176px;
width:73px;
height:19px;
z-index:14;
}
#calqcommentaire {
position:absolute;
left:263px;
top:176px;
width:68px;
height:9px;
z-index:15;
}
#calqnouecrir {
position:absolute;
left:507px;
top:176px;
width:23px;
height:3px;
z-index:16;
}
#calqinscription {
position:absolute;
left:387px;
top:176px;
width:69px;
height:17px;
z-index:17;
}
#calqdescription {
position:absolute;
left:240px;
top:202px;
width:578px;
height:191px;
z-index:18;
background-color: #F4F4F4;
}
#calqdessoupub {
position:absolute;
left:600px;
top:421px;
width:210px;
height:213px;
z-index:19;
}
#calqpub {
position:absolute;
left:601px;
top:396px;
width:210px;
height:27px;
z-index:20;
background-color: #F4F4F4;
}
#calqvertical {
position:absolute;
left:591px;
top:394px;
width:10px;
height:36px;
z-index:0;
}
a:link {
color: #999999;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #333333;
}
a:hover {
text-decoration: none;
color: #333333;
}
a:active {
text-decoration: none;
color: #333333;
}
#Layer6 {
position:absolute;
left:397px;
top:657px;
width:71px;
height:20px;
z-index:21;
}
hani_
- Messages postés
- 333
- Date d'inscription
- lundi 22 septembre 2008
- Statut
- Membre
- Dernière intervention
- 18 novembre 2009
Heu...
Avec un code propre ça nous faciliterais bien les choses...
Lire sur un brouillon ce n'est jamais agréable...
PS : #conteneur
margin:0 auto 0 auto;
IE a des problèmes avec juste "0 auto" il me semble...
Avec un code propre ça nous faciliterais bien les choses...
Lire sur un brouillon ce n'est jamais agréable...
PS : #conteneur
margin:0 auto 0 auto;
IE a des problèmes avec juste "0 auto" il me semble...