Hallo,
ich suche Hilfe bei folgendem Problem:
Netscape bricht den Text in einem <div> beim Drucken bzw. im Druck-Preview nach jedem Wort um.
Bsp.:
als Link( http://www.olaf-groeger.de/print_nn4.html ) bzw. als Quelltext:
<html>
<head>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" bgcolor="#ffffff">
<table cellpadding="0" cellspacing="0" border="0" frame="void">
<tr>
<td width="128px" valign="top" height="272px" style="font-size:2px;">
<spacer type=horizontal size="128px">
</td>
<td width="224px" valign="top" style="font-size:2px;">
<spacer type=vertical size="160px">
<div style="width: 179px; height: 48px; text-align: left; font-family: Arial; font-size: 10pt; color: #000000; text-align: left; ">
Linksdhksdhklsdhklak ehajekh jehgfj jshgjdg jhegfj jegujllwzui wuge wkjzgufegk
</div>
<spacer type=horizontal size="224px">
</td>
<td width="224px" valign="top" style="font-size:2px;">
<spacer type=vertical size="120px">
<table cellpadding="0" cellspacing="0" border="1" bordercolor="#000000">
<tr>
<td>
<img src="spacer.gif" border="0" width="220px " height="148px ">
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Nach einigen Versuchen konnte ich das Problem auf die Groessenangaben des <div> zurueckfuehren. Wenn ich width UND height entferne, wird der Ausdruck korrekt umgebrochen, wenn ich width und/oder height in dem Style habe, wird der Umbruch wortweise durchgefuehrt. Weiss jemand, wie man das <div> mit Groessenangaben verwenden und trotzdem die Seite ausdrucken kann ?
Schoene Gruesse
Olaf