Search code examples
c#asp.netwebformsckeditor

The Scrollbar Comes Out When I Write a Long Article (CKEditor)


Even if I don't use CKEditor or use CKEditor, I'm having a problem like below: the scrollbar comes out and the article is going sideways.

Scroolbar Image. Please click to see.

And this is my code:

<asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
    <ItemTemplate>
        <p>
            <%#Eval("longdescription") %>
        </p>
    </ItemTemplate>
</asp:Repeater>

Solution

  • As per the image you the content in the first line is continuous. That is the reason for the scrollbar.

    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,.</p>
    <p>gggggggggggggggggggggggggggggggggjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhjjjjjjjjjjjjjjjjjjjjjjj</p>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,.</p>