Index: _samples/afp/sampleposteddata.afp
===================================================================
--- _samples/afp/sampleposteddata.afp	(revision 2023)
+++ _samples/afp/sampleposteddata.afp	(working copy)
@@ -27,17 +27,19 @@
 		<title>FCKeditor - AFP - Samples - Posted Data</title>
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta name="robots" content="noindex, nofollow">
-		<link href="../sample.css" rel="stylesheet" type="text/css" />
+		<link href="../sample.css" rel="stylesheet" type="text/css">
 	</head>
 	<body>
 		<h1>FCKeditor - Samples - Posted Data</h1>
 		This page lists all data posted by the form.
 		<hr>
-		<table width="100%" border="1" cellspacing="0" bordercolor="#999999">
-			<tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999">
-				<td nowrap>Field Name&nbsp;&nbsp;</td>
-				<td>Value</td>
-			</tr>
+		<table width="100%" border="1" cellspacing="0" id="outputSample">
+			<thead>
+				<tr>
+					<th>Field Name</th>
+					<th>Value</th>
+				</tr>
+			</thead>
 <%
 		lcForm=REQUEST.Form()
 		lcForm=STRTRAN(lcForm,"&",CHR(13)+CHR(10))
@@ -51,7 +53,7 @@
 				lcWert=STRTRAN(lcWert,"<","&lt;")
 				lcWert=STRTRAN(lcWert,">","&gt;")	&& ... if wanted remove/translate HTML Chars ...
 
-				? [<tr><td>]+lcVariable+[ =</td><td>]+lcWert+[</td></tr>]
+				? [<tr><th>]+lcVariable+[ =</th><td><pre>]+lcWert+[</pre></td></tr>]
 			ENDIF
 		NEXT
 %>
Index: _samples/asp/sampleposteddata.asp
===================================================================
--- _samples/asp/sampleposteddata.asp	(revision 2023)
+++ _samples/asp/sampleposteddata.asp	(working copy)
@@ -28,24 +28,26 @@
 		<title>FCKeditor - Samples - Posted Data</title>
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta name="robots" content="noindex, nofollow">
-		<link href="../sample.css" rel="stylesheet" type="text/css" />
+		<link href="../sample.css" rel="stylesheet" type="text/css" >
 	</head>
 	<body>
 		<h1>FCKeditor - Samples - Posted Data</h1>
 		This page lists all data posted by the form.
 		<hr>
-		<table width="100%" border="1" cellspacing="0" bordercolor="#999999">
-			<tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999">
-				<td noWrap>Field Name&nbsp;&nbsp;</td>
-				<td>Value</td>
-			</tr>
+		<table width="100%" border="1" cellspacing="0" id="outputSample">
+			<thead>
+				<tr>
+					<th>Field Name</th>
+					<th>Value</th>
+				</tr>
+			</thead>
 			<%
 			Dim sForm
 			For Each sForm in Request.Form
 			%>
 			<tr>
-				<td valign="top" nowrap><b><%=sForm%></b></td>
-				<td width="100%" style="white-space:pre"><%=Server.HTMLEncode( Request.Form(sForm) )%></td>
+				<th><%=sForm%></th>
+				<td><pre><%=Server.HTMLEncode( Request.Form(sForm) )%></pre></td>
 			</tr>
 			<% Next %>
 		</table>
Index: _samples/cfm/sampleposteddata.cfm
===================================================================
--- _samples/cfm/sampleposteddata.cfm	(revision 2023)
+++ _samples/cfm/sampleposteddata.cfm	(working copy)
@@ -38,23 +38,21 @@
 	<cfif isDefined( 'FORM.fieldnames' )>
 		<cfoutput>
 		<hr />
-		<style>
-		<!--
-			td, th { font: 11px Verdana, Arial, Helv, Helvetica, sans-serif; }
-		-->
-		</style>
-		<table border="1" cellspacing="0" cellpadding="2" bordercolor="darkblue" bordercolordark="darkblue" bordercolorlight="darkblue">
+		<table width="100%" border="1" cellspacing="0" id="outputSample">
+			<thead>
+				<tr>
+					<th>Field Name</th>
+					<th>Value</th>
+				</tr>
+			</thead>
 		<tr>
-			<th colspan="2" bgcolor="darkblue"><font color="white"><strong>Dump of FORM Variables</strong></font></th>
-		</tr>
-		<tr>
-			<td bgcolor="lightskyblue">FieldNames</td>
+			<th>FieldNames</th>
 			<td>#FORM.fieldNames#</td>
 		</tr>
 		<cfloop list="#FORM.fieldnames#" index="key">
 		<tr>
-			<td valign="top" bgcolor="lightskyblue">#key#</td>
-			<td style="white-space:pre">#HTMLEditFormat( evaluate( "FORM.#key#" ) )#</td>
+			<th>#key#</th>
+			<td><pre>#HTMLEditFormat( evaluate( "FORM.#key#" ) )#</pre></td>
 		</tr>
 		</cfloop>
 		</table>
Index: _samples/lasso/sampleposteddata.lasso
===================================================================
--- _samples/lasso/sampleposteddata.lasso	(revision 2023)
+++ _samples/lasso/sampleposteddata.lasso	(working copy)
@@ -28,21 +28,23 @@
 		<title>FCKeditor - Samples - Posted Data</title>
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta name="robots" content="noindex, nofollow">
-		<link href="../sample.css" rel="stylesheet" type="text/css" />
+		<link href="../sample.css" rel="stylesheet" type="text/css">
 	</head>
 	<body>
 		<h1>FCKeditor - Samples - Posted Data</h1>
 		This page lists all data posted by the form.
 		<hr>
-		<table width="100%" border="1" cellspacing="0" bordercolor="#999999">
-			<tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999">
-				<td nowrap>Field Name&nbsp;&nbsp;</td>
-				<td>Value</td>
-			</tr>
+		<table width="100%" border="1" cellspacing="0" id="outputSample">
+			<thead>
+				<tr>
+					<th>Field Name</th>
+					<th>Value</th>
+				</tr>
+			</thead>
 [iterate(client_postparams, local('this'))]
 			<tr>
-				<td valign="top" nowrap><b>[#this->first]</b></td>
-				<td width="100%" style="white-space:pre">[#this->second]</td>
+				<th>[#this->first]</th>
+				<td><pre>[#this->second]</pre></td>
 			</tr>
 [/iterate]
 		</table>
Index: _samples/perl/sampleposteddata.cgi
===================================================================
--- _samples/perl/sampleposteddata.cgi	(revision 2023)
+++ _samples/perl/sampleposteddata.cgi	(working copy)
@@ -70,31 +70,32 @@
 	print "Content-type: text/html\n\n";
 	print <<"_HTML_TAG_";
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-
 <html>
 	<head>
 		<title>FCKeditor - Samples - Posted Data</title>
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta name="robots" content="noindex, nofollow">
-		<link href="../sample.css" rel="stylesheet" type="text/css" />
+		<link href="../sample.css" rel="stylesheet" type="text/css" >
 	</head>
 	<body>
 		<h1>FCKeditor - Samples - Posted Data</h1>
 		This page lists all data posted by the form.
 		<hr>
-		<table width="100%" border="1" cellspacing="0" bordercolor="#999999">
-			<tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999">
-				<td nowrap>Field Name&nbsp;&nbsp;</td>
-				<td>Value</td>
-			</tr>
+		<table width="100%" border="1" cellspacing="0" id="outputSample">
+			<thead>
+				<tr>
+					<th>Field Name</th>
+					<th>Value</th>
+				</tr>
+			</thead>
 _HTML_TAG_
 
 	foreach $key (keys %FORM) {
 		$postedValue = &specialchar_cnv($FORM{$key});
 		print <<"_HTML_TAG_";
 			<tr>
-				<td valign="top" nowrap><b>$key</b></td>
-				<td width="100%" style="white-space:pre">$postedValue</td>
+				<th>$key</th>
+				<td><pre>$postedValue</pre></td>
 			</tr>
 _HTML_TAG_
 	}
Index: _samples/php/sampleposteddata.php
===================================================================
--- _samples/php/sampleposteddata.php	(revision 2023)
+++ _samples/php/sampleposteddata.php	(working copy)
@@ -28,17 +28,19 @@
 		<title>FCKeditor - Samples - Posted Data</title>
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 		<meta name="robots" content="noindex, nofollow">
-		<link href="../sample.css" rel="stylesheet" type="text/css" />
+		<link href="../sample.css" rel="stylesheet" type="text/css" >
 	</head>
 	<body>
 		<h1>FCKeditor - Samples - Posted Data</h1>
 		This page lists all data posted by the form.
 		<hr>
-		<table width="100%" border="1" cellspacing="0" bordercolor="#999999">
-			<tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999">
-				<td nowrap>Field Name&nbsp;&nbsp;</td>
-				<td>Value</td>
-			</tr>
+		<table width="100%" border="1" cellspacing="0" id="outputSample">
+			<thead>
+				<tr>
+					<th>Field Name</th>
+					<th>Value</th>
+				</tr>
+			</thead>
 <?php
 
 if ( isset( $_POST ) )
@@ -55,8 +57,8 @@
 
 ?>
 			<tr>
-				<td valign="top" nowrap><b><?=$sForm?></b></td>
-				<td width="100%" style="white-space:pre"><?=$postedValue?></td>
+				<th><?php echo $sForm?></th>
+				<td><pre><?php echo $postedValue?></pre></td>
 			</tr>
 <?php
 }
Index: _samples/py/sampleposteddata.py
===================================================================
--- _samples/py/sampleposteddata.py	(revision 2023)
+++ _samples/py/sampleposteddata.py	(working copy)
@@ -53,19 +53,21 @@
 		<h1>FCKeditor - Samples - Posted Data</h1>
 		This page lists all data posted by the form.
 		<hr>
-		<table width="100%" border="1" cellspacing="0" bordercolor="#999999">
-			<tr style="FONT-WEIGHT: bold; COLOR: #dddddd; BACKGROUND-COLOR: #999999">
-				<td nowrap>Field Name&nbsp;&nbsp;</td>
-				<td>Value</td>
-			</tr>
+		<table width="100%" border="1" cellspacing="0" id="outputSample">
+			<thead>
+				<tr>
+					<th>Field Name</th>
+					<th>Value</th>
+				</tr>
+			</thead>
 """
 for key in form.keys():
 	try:
 		value = form[key].value
 		print """
 				<tr>
-					<td valign="top" nowrap><b>%s</b></td>
-					<td width="100%%" style="white-space:pre">%s</td>
+					<th>%s</th>
+					<td><pre>%s</pre></td>
 				</tr>
 			""" % (key, value)
 	except Exception, e:
Index: _samples/sample.css
===================================================================
--- _samples/sample.css	(revision 2023)
+++ _samples/sample.css	(working copy)
@@ -21,7 +21,7 @@
  * Styles used in the samples pages.
  */
 
-body, td, input, select, textarea
+body, td, th, input, select, textarea
 {
 	font-size: 12px;
 	font-family: Arial, Verdana, Sans-Serif;
@@ -44,7 +44,18 @@
 {
 	margin:0px;
 	padding:0px;
-	white-space: pre-wrap; /* css-3 */
-	white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
-	word-wrap: break-word; /* Internet Explorer 5.5+ */
+
+	white-space: pre; /* CSS2 */
+	white-space: -moz-pre-wrap; /* Mozilla*/
+	white-space: -o-pre-wrap; /* Opera 7 */
+	white-space: pre-wrap; /* CSS 2.1 */
+	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
+	word-wrap: break-word; /* IE */
 }
+
+thead th {
+	color: #dddddd; 
+	background-color: #999999;
+	padding: 4px;
+	white-space: nowrap;
+}
\ No newline at end of file
Index: _whatsnew.html
===================================================================
--- _whatsnew.html	(revision 2026)
+++ _whatsnew.html	(working copy)
@@ -106,6 +106,8 @@
 			are applied in the image preview dialog.</li>
 		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2056">#2056</a>] Fixed several validation 
 			errors in the dialogs.</li>
+		<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1593">#1593</a>] Samplepostdata will now 
+			properly wrap the text.</li> 
 	</ul>
 	<h3>
 		Version 2.6</h3>
