bon comme tout le monde je veux faire un beau template graphique avec un magnifique effet d'ombre.
Donc apres multiples recherches j'ai bien fait quelque chose:
CODE
<style type="text/css" media="all">
* {padding: 0; margin: 0;}
html, body {
height: 100%;
}
div#corps {
background-image: url(image/fond_1_bande.jpg);
background-repeat: repeat-x;
height: auto !important;
height: 100%;
min-height: 100%;
}
div#conteneur {
margin-left: auto;
position: absolute;
width: 635px;
background-image: url(image/ombres.png) !important;
background-image: none;
background-repeat: repeat-y;
background-position: left top;
padding-right: 9px;
padding-left: 9px;
z-index: 50;
}
div#cadre_blanc{
position:relative; width:635px; height:auto; z-index:2; top: 30px; background-color:#FFFFFF; margin-left: auto; margin-right: auto;
}
* {padding: 0; margin: 0;}
html, body {
height: 100%;
}
div#corps {
background-image: url(image/fond_1_bande.jpg);
background-repeat: repeat-x;
height: auto !important;
height: 100%;
min-height: 100%;
}
div#conteneur {
margin-left: auto;
position: absolute;
width: 635px;
background-image: url(image/ombres.png) !important;
background-image: none;
background-repeat: repeat-y;
background-position: left top;
padding-right: 9px;
padding-left: 9px;
z-index: 50;
}
div#cadre_blanc{
position:relative; width:635px; height:auto; z-index:2; top: 30px; background-color:#FFFFFF; margin-left: auto; margin-right: auto;
}
Mon ombre est dans "conteneur" et c'est l'image ombre.png et j'aimerais donc que celle ci soit l'ombre de "cadre_blanc".
Mais ça ne marche pas donc si quelqu'un pourrait me donner un coup de main car là je galère beaucoup avec les css mais je pense que ça vaut le coup de faire du Web accessible!
Voilà merci!
Mickael
