WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   bild ausfüllend in <td> wiewowas (http://www.wcm.at/forum/showthread.php?t=196674)

mr.red 05.08.2006 14:15

bild ausfüllend in <td> wiewowas
 
ich kapiers nicht,
wenn ein td ein bild enthält dann ist die tabellenzelle breiter als das bild


damit das bild genau so hoch wie der rest der spalte wird und die ganze zelle ausfüllt muss ich

<tr><td height="20" width="50">
[img]oben.jpg[/img]
</td>

machen. das bild is 50*20. wenn ich im <img> height="20" gebe, dann is die grafik ca 1 pixel zu wenig hoch im vergleich zu den nachbarzellen. leider mag der ie4 die % angabe nicht, er zeigt keine grafik mehr.
des is oarg!

Dumdideldum 05.08.2006 14:37

<td style="background-image:url(background.jpg)">Text</td>


http://de.selfhtml.org/html/tabellen/index.htm

mr.red 05.08.2006 17:34

:cool: sweet relief


Alle Zeitangaben in WEZ +2. Es ist jetzt 22:53 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag