I was trying to wrap words which will be displayed in table cell.
For that I had a string builder which will add breaks where ever I need to wrap. When I used <br/>, instaed of wrapping text it displayed <br/> in the field. I tried Environment.Newline. Here in view souce it was wrapping but when I displayed page with brower it was not wrapping. I tried displaying in multiline textbox no luck. I tried ASCII value instead of <br> no luck.
I tried <Pre> tag but when I use this tag I am loosing fonts. I can change font color but not able to change font.
Any idea what is going on here. Any suggestion on how to set font name for PRE tags any other way than <Pre> tags.
For that I had a string builder which will add breaks where ever I need to wrap. When I used <br/>, instaed of wrapping text it displayed <br/> in the field. I tried Environment.Newline. Here in view souce it was wrapping but when I displayed page with brower it was not wrapping. I tried displaying in multiline textbox no luck. I tried ASCII value instead of <br> no luck.
I tried <Pre> tag but when I use this tag I am loosing fonts. I can change font color but not able to change font.
Any idea what is going on here. Any suggestion on how to set font name for PRE tags any other way than <Pre> tags.