FireFox problème de bordure
Bonjour à tous,
voilà, j'ai un petit problème sous Firefox et pour une fois, je crois que c'est FF qui interprète mal le code CSS !!!
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#cadre_principal {
position: relative;
width: 750px;
height: 100%;
left: 50%;
margin-left: -376px;
border-left: solid 1px black;
border-right: solid 1px black;
}
#cadre_photo_titre {
width: 750px;
height: 100px;
margin-top: 75px;
background-color: #666666;
border-top: solid 1px black;
} |
et voici ma page:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
<html>
<head>
<link rel="stylesheet" href="./style/main.css" />
</head>
<body>
<div id="cadre_principal">
<div id="cadre_photo_titre">
</div>
</div>
</body>
</html> |
quelqu'un pourrait-il me dire pourquoi les border du cadre_principal disparaissent au dessus du cadre_photo_titre ??? Comprends pas et ce problème ne se pose pas sou IE. Commence à en avoir marre de ces problèmes d'incompatibilité !!!