Click here to Skip to main content
       

Web Development

 
AnswerRe: asp.net PinmemberDavid Kroj26-May-13 23:28 
QuestionWebsrvice sql for server stored procedure Pinmemberbillythekidney11-May-13 0:16 
AnswerRe: Websrvice sql for server stored procedure PinmemberJasmine250114-May-13 7:03 
Questionopacity issue with ie6 Pinmemberrakeshs3129-May-13 20:03 
AnswerRe: opacity issue with ie6 PinmemberMember 1005025413-May-13 21:40 
GeneralRe: opacity issue with ie6 Pinmemberrakeshs31214-May-13 17:12 
AnswerRe: opacity issue with ie6 PinprofessionalRichard Deeming15-May-13 1:48 
Questionhelp with word wrap please PinmemberJassim Rahma8-May-13 11:08 
Hi,
 
I have a long text like this:
 
this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. this is just a test.. 
 
I tried to display using asp:Literal with this code:
 
<asp:TableCell HorizontalAlign="Left" ColumnSpan="2">
    <div style="width: 650px; word-wrap: break-word">
    <asp:Literal ID="txtArticle" runat="server" Text='<%# Eval("member_post_article") %>'></asp:Literal>
    </div>
</asp:TableCell>
 
but it's now showing properly. It's even breaking the single word at the end of the width like this:
 
th
is
 
How can I do a real and proper word wrap?

 
Technology News @ www.JassimRahma.com

AnswerRe: help with word wrap please Pinmember ProgramFOX8-May-13 22:01 
QuestionRe: help with word wrap please PinprofessionalRichard Deeming9-May-13 2:10 
QuestionDatabase Error PinmemberRajib087-May-13 22:56 
Generalhelp for Google +1 button PinmemberGnana Akilan7-May-13 8:54 
GeneralRe: help for Google +1 button PinmvpSandeep Mewara7-May-13 23:03 
Questionnew to programming and need to write a virtual classroom program Pinmemberdowells7-May-13 2:02 
AnswerRe: new to programming and need to write a virtual classroom program PinmvpRichard MacCutchan7-May-13 2:53 
QuestionHow Best to Build Web App to Receive & Post Async Data From Server PinmemberMember 817307430-Apr-13 8:43 
QuestionForm submit error message PinmemberTichaona J29-Apr-13 5:04 
AnswerRe: Form submit error message Pinmemberrpprojects16-May-13 16:11 
GeneralRe: Form submit error message PinmemberTichaona J26-May-13 7:37 
GeneralRe: Form submit error message PinmemberDavid Kroj26-May-13 23:54 
Questioncrystal reports not working for visual studio 2010 PinmemberMember 999911226-Apr-13 7:05 
AnswerRe: crystal reports not working for visual studio 2010 PinmvpSandeep Mewara26-Apr-13 7:33 
GeneralRe: crystal reports not working for visual studio 2010 PinmemberMember 999911226-Apr-13 7:35 
QuestionGMail SMTP Outgoing Problem PinmemberIshaan Karnik25-Apr-13 3:58 
AnswerRe: GMail SMTP Outgoing Problem PinprofessionalBernhard Hiller26-Apr-13 0:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 28 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid