>Paul,
>
>FWIW
>
>
><asp:Literal ID="litHeader" runat="server"></asp:Literal>
>
>// with this C# code in Page_Load
>litHeader.Text = sQueryParms.Replace( "|", "<br>" );
>
>
>does exactly what I need it to do.
>
>>I tend to just use a label for this kind of thing. Generate the string then set the labels .Text property to it. You can wrap it with some <pre> tags if you don't want the browser screwing with the layout.
Interesting - so the extra bit of span tag stuff that a label adds was an issue? Was the final output meant for real users or another app?