par
Pierre AP » 06 mai 2007, 17:03
Bonjour à tous,Dans le cas d'une position 'fixed' non lu par ie, je voudrais savoir ce qu'il y faut modifier dans ce code :
feuille CSS :
Code : Tout sélectionner
@charset "iso-8859-1";
<!--[if lt IE 7]>
<link href="ie-less-than-ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
body {
background-color:#e6e6d9;
position: absolute;
background: url('../fond2.jpg') no-repeat;
background-position: 50% 0;
font-family:"Georgia", Times, "Times New Roman", Palatino, serif;font-size:.9em;
height: 100%;
width: 100%;
text-align:center;
top: 0;
left: 0;
} feuille CSS pour les autres navigateurs :
modern-browsers.css :
Code : Tout sélectionner
body{
top: 0;
background-color:#e6e6d9;
background-image: url('../fond2.jpg');
background-attachment : fixed;
background-position: 50% 0;
background-repeat: no-repeat;
font-family:"Georgia", Times, "Times New Roman", Palatino, serif;font-size:.9em;
height: 100%;
width: 100%;
text-align:center;
overflow:auto;
}La page :
http://ppzx.net/gestaltdos/gestalt.php5
Merci d'avance. Pierre AP
PS avec ie 7 et windows xp tout va bien.
Bonjour à tous,Dans le cas d'une position 'fixed' non lu par ie, je voudrais savoir ce qu'il y faut modifier dans ce code :
feuille CSS :
[code]@charset "iso-8859-1";
<!--[if lt IE 7]>
<link href="ie-less-than-ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
body {
background-color:#e6e6d9;
position: absolute;
background: url('../fond2.jpg') no-repeat;
background-position: 50% 0;
font-family:"Georgia", Times, "Times New Roman", Palatino, serif;font-size:.9em;
height: 100%;
width: 100%;
text-align:center;
top: 0;
left: 0;
}[/code] feuille CSS pour les autres navigateurs :
modern-browsers.css : [code]body{
top: 0;
background-color:#e6e6d9;
background-image: url('../fond2.jpg');
background-attachment : fixed;
background-position: 50% 0;
background-repeat: no-repeat;
font-family:"Georgia", Times, "Times New Roman", Palatino, serif;font-size:.9em;
height: 100%;
width: 100%;
text-align:center;
overflow:auto;
}[/code]La page : http://ppzx.net/gestaltdos/gestalt.php5
Merci d'avance. Pierre AP
PS avec ie 7 et windows xp tout va bien.