|
|
|
|
Bonjour,
J'aimmerais créer une bande noir de 2px de hauteur telle que celle ci :
.header_line_h {
position: absolute;
height: 2px;
width: 100%;
top : 0px;
left : 0px;
background : #000000;
z-index: 499;
}
Sous Firefox aucun problèmes d'affichage, et bien sûr sous ie, ça n'a plus rien a voir, mon bloc fait environ 10px de hauteur et il n'est pas positionné pareil.
Captures d'écran à l'appui :
Firefox
http://www.bamboule.org/exemple_firefox.gif
IE
http://www.bamboule.org/exemple_ie.gif
Je metterais le reste du code si nécessaire.
Mais a ce niveau là, savez-vous comment rendre compatible cet affichage pour ce bougre d'explorer ?
Merci d'avance
Kalber
Configuration: Windows XP Firefox 2.0.0.1
Bonjour,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="as_vert.css" type="text/css"> </head> <body bgcolor="#7FDAA3"> <center> <div class="content"> <div class="header_up_left"> <img src="pics/up_left.gif"> </div> <div class="header_up_right"> <img src="pics/up_right.gif"> </div> <div class="header_line_h"> </div> </div> </center> </body> </html> as_vert.css
.content {
width: 800px;
height: 800px;
position: relative;
left : 0px;
top : 0px;
z-index: 400;
background: #B1F5D4;
}
.header_up_left {
position: absolute;
left : 0px;
top : 0px;
z-index: 500;
}
.header_up_right {
position: absolute;
right : 0px;
top : 0px;
z-index: 500;
}
.header_line_h {
position: absolute;
height: 2px;
width: 100%;
top : 0px;
left : 0px;
background : #000000;
z-index: 499;
}
|
Bonjour,
.header_line_h {
position: absolute;
height: 2px;
width: 100%;
top : 0px;
left : 0px;
background-image : url("pics/black.gif");
background-repeat: repeat-x;
z-index: 400;
margin-top: 0px;
padding-top: 0px;
}
|