Forum


HomeHomePremiumPremiumDevelopmentDevelopmentCreate a module with a vertical scroll barCreate a module with a vertical scroll bar
Previous
 
Next
New Post
7/15/2013 6:00 AM
 

Hello

Is there a way to create an HTML module that has a fixed height and has a scroll bar to scroll the content in the module?  I have a client with a "for your information" HTML module on their home page but there are now so many items in that module that the page is very long.  If I could fix the height of that HTML module and have a scroll bar to view the long list that would be great.  Thanks.


Chris

 
New Post
7/15/2013 11:30 AM
 

Hi Chris,

You should wrap a DIV around the content like this:

<div style="width : 200px; height : 200px; overflow : auto;">
[YOUR TEXT GOES HERE]
</div>

Then you can set any height you want.

Cheers,

Aderson

 
New Post
7/15/2013 11:55 AM
 

Thanks.  I'll give that a shot.


Chris

 
New Post
7/15/2013 11:56 AM
 

Could I add that div to the container code if I wanted?

 
New Post
7/15/2013 11:58 AM
 

You could definitely put that within the "contentpane" div inside the container. I think I have done that before.

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentCreate a module with a vertical scroll barCreate a module with a vertical scroll bar



Try FREE
30 days money back guaranteed