Vous pouvez m'expliquer ça.
J'ai un tableau avec une image de type bandeau faisant office de background. Celle-ci fait 138 pixels de haut. Afin d'assurer qu'il s'affiche au complet, dans mon <td> j'ai inséré un spacer transparent de 138 pixels de haut. L'affichage est parfait partout sauf sur les grands écrans où mon bandeau est coupé à la moitié dans le sens de la hauteur. Comment régler ça ?
D'ailleurs, sous-question, j'ai remarqué que parfois sous Explorer mon nouveau site s'ouvre en affichage 75% ce qui altère aussi mon image de bandeau. Pourquoi Explorer fait ça ? Est-ce qu'on peut l'obliger à s'ouvrir en 100% ?
CODE :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 .bandeau { background-image:url(images/bandePale.jpg); background-repeat:no-repeat; background-size: cover; }
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 <table border="0" width="100%" cellpadding="0" cellspacing="0" class="bandeau" height="138"> <tr> <td rowspan="2"><img src="images/spacerBandeau.gif" width="2" height="138" ></td>
Partager