sergeiweerasuriya
asked on
ASP.NET - repeater control
I'm developing a web site which has a user forum in it. It behaves pretty much similar to EE where people can add questions and anyone can post a comment for any questions. To display the comments for a single question i use ASP.NET repeater control.
<div class="repeater">
<asp:Repeater ID="rptComments" runat="server" DataSourceID="ObjectDataSo urce1">
<ItemTemplate>
<div class="comments">
<div class="colorbox"></div>
<h1>Comment</h1>
<p class="author"><b>Author:< /b> <%#Eval("Author")%></p>
<p class="date"><b >Date:</b> <%#Eval("Created_date_time ")%> </p> <br />
<p class="commentText"><%#Eva l("Text")% ></p>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
The actual comment it self is displayed by <%#Eval("Text")%> this line. Using CSS i control the look and feel of the repeater control.
.comments .commentText
{
margin-left: 20px;
font-weight: normal;
font-size:13px;
margin-bottom:20px;
width: 650px;
border:1px solid red;
}
The problem is when i post a comment which contains a lot of characters the width of the text displayed exceeds the width of the Div tag rendered. Basically the the comments jump out of the div tag if there are more characters than the width of the div tag. How do i handle this?
<div class="repeater">
<asp:Repeater ID="rptComments" runat="server" DataSourceID="ObjectDataSo
<ItemTemplate>
<div class="comments">
<div class="colorbox"></div>
<h1>Comment</h1>
<p class="author"><b>Author:<
<p class="date"><b >Date:</b> <%#Eval("Created_date_time
<p class="commentText"><%#Eva
</div>
</ItemTemplate>
</asp:Repeater>
</div>
The actual comment it self is displayed by <%#Eval("Text")%> this line. Using CSS i control the look and feel of the repeater control.
.comments .commentText
{
margin-left: 20px;
font-weight: normal;
font-size:13px;
margin-bottom:20px;
width: 650px;
border:1px solid red;
}
The problem is when i post a comment which contains a lot of characters the width of the text displayed exceeds the width of the Div tag rendered. Basically the the comments jump out of the div tag if there are more characters than the width of the div tag. How do i handle this?
>>the comments jump out of the div tag if there are more characters than the width of the div tag
This is called overflow. By default it should wrap, unless you have other styles, etc in place preventing this. In that case you can set the overflow style to handle creating a scrollbar:
http://www.w3schools.com/css/pr_pos_overflow.asp
This is called overflow. By default it should wrap, unless you have other styles, etc in place preventing this. In that case you can set the overflow style to handle creating a scrollbar:
http://www.w3schools.com/css/pr_pos_overflow.asp
ASKER
Ok. that's better. Now the problem is there's a horizontal scroll bar & a vertical scroll bar. I don't want to have a horizontal scroll bar. What should i do? At the moment i've set the overflow property to 'auto'.
Can you show your code?
The thing is that it should warp and not have a horizontal scroll unless you have something forcing that length...
The thing is that it should warp and not have a horizontal scroll unless you have something forcing that length...
ASKER
<div id="repeater">
<asp:Repeater ID="rptComments" runat="server" DataSourceID="ObjectDataSo urce1">
<ItemTemplate>
<asp:Label ID="lblHeader" CssClass="header" runat="server" Text="Comment"></asp:Label >
<asp:Label ID="Author" CssClass="authorHeader" runat="server" Text="Author:"></asp:Label >
<asp:Label ID="lblAuthor" CssClass="author" runat="server" Text='<%#Eval("Author")%>' ></asp:Lab el>
<asp:Label ID="Date" CssClass="dateHeader" runat="server" Text="Date:"></asp:Label>
<asp:Label ID="lblDate" CssClass="date" runat="server" Text='<%#Eval("Created_dat e_time")%> '></asp:La bel>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><%#Eva l("Text")% ></div>
<%-- <asp:Label ID="lblText" CssClass="commentText" runat="server" Text='<%#Eval("Text")%>'>< /asp:Label >
--%> <div class="clear"></div>
</ItemTemplate>
</asp:Repeater>
</div>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllCommen tsByIssueI D"
TypeName="IssueList">
<SelectParameters>
<asp:QueryStringParameter Name="IssueID" QueryStringField="PK_issue _id" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
#repeater
{
clear: both;
margin-top: 50px;
margin-left: 20px;
border: 1px solid blue;
width: 700px;
padding:10px;
}
.header
{
font-weight:bold;
font-size:14px;
margin:40px 5px 10px 20px;
}
.authorHeader
{
margin:0 5px 10px 280px;
font-size: 11px;
font-weight:bold;
}
.dateHeader
{
margin:0 5px 10px 30px;
font-size: 11px;
font-weight:bold;
}
.date
{
margin-bottom:20px;
}
.colorbox
{
width: 700px;
height: 30px;
background-color: #a0896c;
margin: -20px 0 0 0;
}
.commentText
{
clear:both;
margin: 10px 10px 50px 30px;
overflow:auto;
}
.clear
{
clear:both;
margin-top:30px;
}
<asp:Repeater ID="rptComments" runat="server" DataSourceID="ObjectDataSo
<ItemTemplate>
<asp:Label ID="lblHeader" CssClass="header" runat="server" Text="Comment"></asp:Label
<asp:Label ID="Author" CssClass="authorHeader" runat="server" Text="Author:"></asp:Label
<asp:Label ID="lblAuthor" CssClass="author" runat="server" Text='<%#Eval("Author")%>'
<asp:Label ID="Date" CssClass="dateHeader" runat="server" Text="Date:"></asp:Label>
<asp:Label ID="lblDate" CssClass="date" runat="server" Text='<%#Eval("Created_dat
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><%#Eva
<%-- <asp:Label ID="lblText" CssClass="commentText" runat="server" Text='<%#Eval("Text")%>'><
--%> <div class="clear"></div>
</ItemTemplate>
</asp:Repeater>
</div>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllCommen
TypeName="IssueList">
<SelectParameters>
<asp:QueryStringParameter Name="IssueID" QueryStringField="PK_issue
</SelectParameters>
</asp:ObjectDataSource>
#repeater
{
clear: both;
margin-top: 50px;
margin-left: 20px;
border: 1px solid blue;
width: 700px;
padding:10px;
}
.header
{
font-weight:bold;
font-size:14px;
margin:40px 5px 10px 20px;
}
.authorHeader
{
margin:0 5px 10px 280px;
font-size: 11px;
font-weight:bold;
}
.dateHeader
{
margin:0 5px 10px 30px;
font-size: 11px;
font-weight:bold;
}
.date
{
margin-bottom:20px;
}
.colorbox
{
width: 700px;
height: 30px;
background-color: #a0896c;
margin: -20px 0 0 0;
}
.commentText
{
clear:both;
margin: 10px 10px 50px 30px;
overflow:auto;
}
.clear
{
clear:both;
margin-top:30px;
}
Sorry I meant the generated code. So that I can play with it and see what is causing it
Just one section of the repaeter that has the issue should be enough
Just one section of the repaeter that has the issue should be enough
ASKER
What do u mean the generated code?
The html that the .net repeater generates.
ASKER
<div id="repeater">
<asp:Repeater ID="rptComments" runat="server" DataSourceID="ObjectDataSo urce1">
<ItemTemplate>
<asp:Label ID="lblHeader" CssClass="header" runat="server" Text="Comment"></asp:Label >
<asp:Label ID="Author" CssClass="authorHeader" runat="server" Text="Author:"></asp:Label >
<asp:Label ID="lblAuthor" CssClass="author" runat="server" Text='<%#Eval("Author")%>' ></asp:Lab el>
<asp:Label ID="Date" CssClass="dateHeader" runat="server" Text="Date:"></asp:Label>
<asp:Label ID="lblDate" CssClass="date" runat="server" Text='<%#Eval("Created_dat e_time")%> '></asp:La bel>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><%#Eva l("Text")% ></div>
<%-- <asp:Label ID="lblText" CssClass="commentText" runat="server" Text='<%#Eval("Text")%>'>< /asp:Label >
--%> <div class="clear"></div>
</ItemTemplate>
</asp:Repeater>
</div>
<asp:Repeater ID="rptComments" runat="server" DataSourceID="ObjectDataSo
<ItemTemplate>
<asp:Label ID="lblHeader" CssClass="header" runat="server" Text="Comment"></asp:Label
<asp:Label ID="Author" CssClass="authorHeader" runat="server" Text="Author:"></asp:Label
<asp:Label ID="lblAuthor" CssClass="author" runat="server" Text='<%#Eval("Author")%>'
<asp:Label ID="Date" CssClass="dateHeader" runat="server" Text="Date:"></asp:Label>
<asp:Label ID="lblDate" CssClass="date" runat="server" Text='<%#Eval("Created_dat
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><%#Eva
<%-- <asp:Label ID="lblText" CssClass="commentText" runat="server" Text='<%#Eval("Text")%>'><
--%> <div class="clear"></div>
</ItemTemplate>
</asp:Repeater>
</div>
No that is the asp.net code.
It generates html code on the page.
If you go to the page where you see the problem you should be able to do "View Source" or something similar depending on your browser.
Find the <siv id="repeater"> and copy the html code from inside
It generates html code on the page.
If you go to the page where you see the problem you should be able to do "View Source" or something similar depending on your browser.
Find the <siv id="repeater"> and copy the html code from inside
ASKER
<div id="repeater">
<span id="rptComments_ctl00_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl00_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl00_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl00_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl00_lblD ate" class="date">29/05/2007 13:34:20</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">Flip the back cover</div>
<div class="clear"></div>
<span id="rptComments_ctl01_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl01_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl01_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl01_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl01_lblD ate" class="date">30/05/2007 00:09:24</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">Remove the battery</div>
<div class="clear"></div>
<span id="rptComments_ctl02_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl02_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl02_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl02_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl02_lblD ate" class="date">31/05/2007 08:53:07</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">Thats wrong.</div>
<div class="clear"></div>
<span id="rptComments_ctl03_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl03_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl03_lblA uthor" class="author">joe</span>
<span id="rptComments_ctl03_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl03_lblD ate" class="date">31/05/2007 13:08:18</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">e5y56u 55u</div>
<div class="clear"></div>
<span id="rptComments_ctl04_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl04_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl04_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl04_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl04_lblD ate" class="date">01/06/2007 13:36:58</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">32rwet ertyhtykui lwetgtrujy tujyukyuuy kjyukyu
grt
htrhj
tyhjtyj
t</div>
<div class="clear"></div>
<span id="rptComments_ctl05_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl05_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl05_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl05_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl05_lblD ate" class="date">05/06/2007 11:53:05</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>rfw ertytuyuiy jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jetujtyjyu jkyuk</p>
<p>fkprejgikrhktjkerjghrjt hjrkt</p>
<p>fgjeghjrtjhgkjrhkgrjkh< /p></div>
<div class="clear"></div>
<span id="rptComments_ctl06_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl06_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl06_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl06_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl06_lblD ate" class="date">05/06/2007 11:58:58</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj jjjjjjjjjj jjjjjjjjjj jj</p></di v>
<div class="clear"></div>
<span id="rptComments_ctl07_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl07_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl07_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl07_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl07_lblD ate" class="date">05/06/2007 11:59:36</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>hhh hhhhhhhhhh hhhhhhh</p ></div>
<div class="clear"></div>
<span id="rptComments_ctl08_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl08_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl08_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl08_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl08_lblD ate" class="date">05/06/2007 12:01:21</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>rfw ertytuyuiy jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jetujtyjyu jkyuk</p>
<p>fkprejgikrhktjkerjghrjt hjrkt</p>
<p>fgjeghjrtjhgkjrhkgrjkh< /p></div>
<div class="clear"></div>
<span id="rptComments_ctl09_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl09_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl09_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl09_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl09_lblD ate" class="date">05/06/2007 12:01:56</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>rfw ertytuyuiy jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jetujtyjyu jkyuk</p>
<p>fkprejgikrhktjkerjghrjt hjrkt</p>
<p>fgjeghjrtjhgkjrhkgrjkh< /p></div>
<div class="clear"></div>
<span id="rptComments_ctl10_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl10_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl10_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl10_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl10_lblD ate" class="date">05/06/2007 12:02:14</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj jjjjjjjjjj jjjjjjjjj< /p></div>
<div class="clear"></div>
<span id="rptComments_ctl11_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl11_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl11_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl11_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl11_lblD ate" class="date">05/06/2007 12:02:31</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>hhh hhhhhhhhhh hhhh</p></ div>
<div class="clear"></div>
<span id="rptComments_ctl12_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl12_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl12_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl12_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl12_lblD ate" class="date">05/06/2007 12:05:17</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj jjjjjjjjjj jjjjjjjjjj jjjj</p></ div>
<div class="clear"></div>
<span id="rptComments_ctl13_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl13_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl13_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl13_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl13_lblD ate" class="date">05/06/2007 12:08:02</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>joe eeeeeeeeee eeeeeee</p ></div>
<div class="clear"></div>
<span id="rptComments_ctl14_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl14_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl14_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl14_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl14_lblD ate" class="date">05/06/2007 12:10:53</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>joe eeeeeeeeee eeeeeee</p ></div>
<div class="clear"></div>
<span id="rptComments_ctl15_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl15_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl15_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl15_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl15_lblD ate" class="date">05/06/2007 12:11:02</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>eee eeeeeeeeee eeeeeeeeee e</p></div >
<div class="clear"></div>
<span id="rptComments_ctl16_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl16_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl16_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl16_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl16_lblD ate" class="date">05/06/2007 12:18:02</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjj</ p></div>
<div class="clear"></div>
<span id="rptComments_ctl17_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl17_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl17_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl17_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl17_lblD ate" class="date">05/06/2007 12:20:53</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjj</ p></div>
<div class="clear"></div>
<span id="rptComments_ctl18_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl18_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl18_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl18_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl18_lblD ate" class="date">05/06/2007 12:22:48</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj jjjjjjjjjj jjjjjjjjjj jjjjjjjjjj jjjjjjjj</ p></div>
<div class="clear"></div>
<span id="rptComments_ctl19_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl19_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl19_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl19_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl19_lblD ate" class="date">05/06/2007 12:23:07</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>eee eeeeeeeeee eeeeeeeeee eeeeeeeeee eeeeeeeeee eeeeeeeeee </p></div>
<div class="clear"></div>
<span id="rptComments_ctl20_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl20_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl20_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl20_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl20_lblD ate" class="date">05/06/2007 08:02:46</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>fdd dddddddddd dddddddddd dddddddddd ddddddgggg gggggggggg gggggggggg ggggggyyyy yyyyyyyyyy yyyyyyyyyy yyterffgeg rtgrthgtht yhtyhythtr h</p></div >
<div class="clear"></div>
<span id="rptComments_ctl21_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl21_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl21_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl21_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl21_lblD ate" class="date">05/06/2007 12:28:16</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jop pppppppppp pppppppppp pppppppppp pppppppppp pppppppppp pppppppppp pppppppppp pppppppppp pppppp</p> </div>
<div class="clear"></div>
<span id="rptComments_ctl22_lblH eader" class="header">Comment</sp an>
<span id="rptComments_ctl22_Auth or" class="authorHeader">Autho r:</span>
<span id="rptComments_ctl22_lblA uthor" class="author">sergei</spa n>
<span id="rptComments_ctl22_Date " class="dateHeader">Date:</ span>
<span id="rptComments_ctl22_lblD ate" class="date">05/06/2007 12:32:00</span>
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>ttt tttttttttt tttttt</p> </div>
<div class="clear"></div>
</div>
<span id="rptComments_ctl00_lblH
<span id="rptComments_ctl00_Auth
<span id="rptComments_ctl00_lblA
<span id="rptComments_ctl00_Date
<span id="rptComments_ctl00_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">Flip the back cover</div>
<div class="clear"></div>
<span id="rptComments_ctl01_lblH
<span id="rptComments_ctl01_Auth
<span id="rptComments_ctl01_lblA
<span id="rptComments_ctl01_Date
<span id="rptComments_ctl01_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">Remove
<div class="clear"></div>
<span id="rptComments_ctl02_lblH
<span id="rptComments_ctl02_Auth
<span id="rptComments_ctl02_lblA
<span id="rptComments_ctl02_Date
<span id="rptComments_ctl02_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">Thats wrong.</div>
<div class="clear"></div>
<span id="rptComments_ctl03_lblH
<span id="rptComments_ctl03_Auth
<span id="rptComments_ctl03_lblA
<span id="rptComments_ctl03_Date
<span id="rptComments_ctl03_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">e5y56u
<div class="clear"></div>
<span id="rptComments_ctl04_lblH
<span id="rptComments_ctl04_Auth
<span id="rptComments_ctl04_lblA
<span id="rptComments_ctl04_Date
<span id="rptComments_ctl04_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText">32rwet
grt
htrhj
tyhjtyj
t</div>
<div class="clear"></div>
<span id="rptComments_ctl05_lblH
<span id="rptComments_ctl05_Auth
<span id="rptComments_ctl05_lblA
<span id="rptComments_ctl05_Date
<span id="rptComments_ctl05_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>rfw
<p>fkprejgikrhktjkerjghrjt
<p>fgjeghjrtjhgkjrhkgrjkh<
<div class="clear"></div>
<span id="rptComments_ctl06_lblH
<span id="rptComments_ctl06_Auth
<span id="rptComments_ctl06_lblA
<span id="rptComments_ctl06_Date
<span id="rptComments_ctl06_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj
<div class="clear"></div>
<span id="rptComments_ctl07_lblH
<span id="rptComments_ctl07_Auth
<span id="rptComments_ctl07_lblA
<span id="rptComments_ctl07_Date
<span id="rptComments_ctl07_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>hhh
<div class="clear"></div>
<span id="rptComments_ctl08_lblH
<span id="rptComments_ctl08_Auth
<span id="rptComments_ctl08_lblA
<span id="rptComments_ctl08_Date
<span id="rptComments_ctl08_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>rfw
<p>fkprejgikrhktjkerjghrjt
<p>fgjeghjrtjhgkjrhkgrjkh<
<div class="clear"></div>
<span id="rptComments_ctl09_lblH
<span id="rptComments_ctl09_Auth
<span id="rptComments_ctl09_lblA
<span id="rptComments_ctl09_Date
<span id="rptComments_ctl09_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>rfw
<p>fkprejgikrhktjkerjghrjt
<p>fgjeghjrtjhgkjrhkgrjkh<
<div class="clear"></div>
<span id="rptComments_ctl10_lblH
<span id="rptComments_ctl10_Auth
<span id="rptComments_ctl10_lblA
<span id="rptComments_ctl10_Date
<span id="rptComments_ctl10_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj
<div class="clear"></div>
<span id="rptComments_ctl11_lblH
<span id="rptComments_ctl11_Auth
<span id="rptComments_ctl11_lblA
<span id="rptComments_ctl11_Date
<span id="rptComments_ctl11_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>hhh
<div class="clear"></div>
<span id="rptComments_ctl12_lblH
<span id="rptComments_ctl12_Auth
<span id="rptComments_ctl12_lblA
<span id="rptComments_ctl12_Date
<span id="rptComments_ctl12_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj
<div class="clear"></div>
<span id="rptComments_ctl13_lblH
<span id="rptComments_ctl13_Auth
<span id="rptComments_ctl13_lblA
<span id="rptComments_ctl13_Date
<span id="rptComments_ctl13_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>joe
<div class="clear"></div>
<span id="rptComments_ctl14_lblH
<span id="rptComments_ctl14_Auth
<span id="rptComments_ctl14_lblA
<span id="rptComments_ctl14_Date
<span id="rptComments_ctl14_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>joe
<div class="clear"></div>
<span id="rptComments_ctl15_lblH
<span id="rptComments_ctl15_Auth
<span id="rptComments_ctl15_lblA
<span id="rptComments_ctl15_Date
<span id="rptComments_ctl15_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>eee
<div class="clear"></div>
<span id="rptComments_ctl16_lblH
<span id="rptComments_ctl16_Auth
<span id="rptComments_ctl16_lblA
<span id="rptComments_ctl16_Date
<span id="rptComments_ctl16_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj
<div class="clear"></div>
<span id="rptComments_ctl17_lblH
<span id="rptComments_ctl17_Auth
<span id="rptComments_ctl17_lblA
<span id="rptComments_ctl17_Date
<span id="rptComments_ctl17_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj
<div class="clear"></div>
<span id="rptComments_ctl18_lblH
<span id="rptComments_ctl18_Auth
<span id="rptComments_ctl18_lblA
<span id="rptComments_ctl18_Date
<span id="rptComments_ctl18_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jjj
<div class="clear"></div>
<span id="rptComments_ctl19_lblH
<span id="rptComments_ctl19_Auth
<span id="rptComments_ctl19_lblA
<span id="rptComments_ctl19_Date
<span id="rptComments_ctl19_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>eee
<div class="clear"></div>
<span id="rptComments_ctl20_lblH
<span id="rptComments_ctl20_Auth
<span id="rptComments_ctl20_lblA
<span id="rptComments_ctl20_Date
<span id="rptComments_ctl20_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>fdd
<div class="clear"></div>
<span id="rptComments_ctl21_lblH
<span id="rptComments_ctl21_Auth
<span id="rptComments_ctl21_lblA
<span id="rptComments_ctl21_Date
<span id="rptComments_ctl21_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>jop
<div class="clear"></div>
<span id="rptComments_ctl22_lblH
<span id="rptComments_ctl22_Auth
<span id="rptComments_ctl22_lblA
<span id="rptComments_ctl22_Date
<span id="rptComments_ctl22_lblD
<div class="colorbox"></div>
<div class="clear"></div>
<div class="commentText"><p>ttt
<div class="clear"></div>
</div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The Problem is i'm using the fckeditor to submit the data to the DB. When i start typing into the editor the moment it reaches the right hand side border it doesn't actually go into the next line. Instead it automatically comes up with the horizontal scroll bar.... so i think that's the problem.
ASKER
I understand what you mean now.
fck editor will actually wrap text if the text is wrappable, just as the web will.
This really doesn't have to do with the editor at all, but with the fact that there is no spaces in the text....
This really doesn't have to do with the editor at all, but with the fact that there is no spaces in the text....
ASKER