+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Scroll bar in generic content

Scroll bar in generic content

2 posts, 0 answered
  1. Andrew
    Andrew avatar
    202 posts
    Registered:
    05 Jun 2009
    15 Nov 2012
    Link to this post
    Is there a way i can get a generic content to show with a scroll bar on my page?
    Say the editor puts a lot of text in and i want it to be always the same size, how can i get a scroll bar to appear?

  2. Patrick Dunn
    Patrick Dunn avatar
    237 posts
    Registered:
    03 Nov 2014
    20 Nov 2012
    Link to this post
    Hello Andrew,

     Thanks for using Sitefinity.

    You are going to want to set a hard value for the width/height of your wrappers and specify overflow:scroll. Like this:

    div
    {
    width:150px;
    height:150px;
    overflow:scroll;
    }

    With this CSS configuration anything that extends beyond the specified height will produce a scroll bar. Regards,
    Patrick Dunn
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered