|
|
Netscape 4.x zeigt die mit CSS definierte Hintergrundfarbe einer Tabelle nicht an. Was kann ich tun? |
|
Netscape 4.x unterstützt keine CSS-Deklarationen für <table> und <tr>. Das gilt auch für Hintergrundfarben. Die Definition von Tabellenfarben ist jedoch normalerweise möglich, so dass man für alle Zellen die selbe Hintergrundfarbe deklarieren kann:
td {
background-color:#000000;
/* gewünschte Farbe angeben */
}
Man kann sich auch damit helfen, dass man die gesamte Tabelle in div-Tags setzt. (Eventuell Weitenangaben verwenden.)
div.rot {
background-color: #FF0000;
border-width:thin;
border-style:none;
width: 100%;
}
Achtung! Ohne border-Angabe zeigt Netscape die Hintergrundfarbe nicht an.
"You cannot assign most styles to the <TABLE> or < TR> elements. Use the <TD> element instead. Exceptions are background image and color on the <TABLE> tag. For other styles, results may vary depending on the complexity of the table and their use is not recommended."(PB) | |
| [Diesen Eintrag erweitern] | |
| Vorhergehende: |
|
| ||||||||||
| [Sitemap] |