Bonsoir à tous,
Une chose que j'ignorais et que j'apprends en lisant SVM de mai 2003.
Je connaissais :
- infobulle sur image (Title et Alt)
- infobulle sur texte (Title)
NB : Title ne fonctionne pas avec Netscape !
(voir
http://gerard.melone.free.fr/LaboWeb/infobulle.html )
Je ne savais pas qu'il existait une propriété
Title dans la balise TD et qui permet une infobulle dans l'ensemble d'une cellule y compris les parties vides !
De même qu'il existe une propriété Title pour les
balises TABLE et TR.
Priorité Title : span > TD > TR > Table
----- illustration
<table>
<td><b>Infobulles image</b></td>
<td><img width=3></td>
<td bgcolor=gray><img width=1 height=1></td>
<td><img width=3></td>
<td>
Title <img src=dot.gif width=100 height=10 title="InfoBulle Title Img sur image"><br>
<br>
Alt <img src=dot.gif width=100 height=10 alt="InfoBulle Alt Img sur image">
</td>
<td><img width=3></td>
<td bgcolor=gray><img width=1 height=1></td>
</table>
<br>
<table border=1 width=300 height=50>
<td align=center><b>InfoBulles texte</b><br>(placez la souris sur chacune des cellules)</td>
</table>
<table border=1 width=300 height=100>
<td bgcolor=orange title="InfoBulle Title TD sur cellule 1" align=center><span title="InfoBulle Title Span sur texte">Infobulle sur texte</span></td>
<td bgcolor=orange title="InfoBulle Title TD sur cellule 2" align=center>Infobulle sur cellule</td>
</table>
<br>
Attention,<br> la propriété Title ne fonctionne qu'avec Internet Explorer !
-----
@12C4 ... In medio stat virtus ...
Ipl