Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to Limit size of HTML moduleHow to Limit size of HTML module
Previous
 
Next
New Post
12/24/2011 10:09 AM
 
I'm on version 6 community.  I'm wondering if I can control the size of the HTML module displayed on a webpage.  Seems like the more content I add, the longer the HTML window is.  Can I control the size, so if content exceeds size there are scroll bars added?  Thanks.
 
New Post
12/25/2011 7:46 AM
 

There are a couple of options to achieve this - but basically it comes down to wrapping whatever html you want displayed in a scollable area inside a <DIV.

The following with force a vertical scroll bar to be show in the height of the HTML inside the div is greater than 400pixels high.

<div style="width:100%;height:400px;overflow:auto;">

YOUR SCROLLING HTML GOES IN HERE

</div>

If this is something that you wanted to occur on a number of pages inside your site - then you could create a custom container with css that handled the div - or if its just a one off then you could just put it straight into the HTML module code.

Cheers

Westa

<div style="width:300px;height:250px;overflow:auto;"> content goes here </div>

 
New Post
12/28/2011 3:54 AM
 

So far, so good. overflow:auto; works on te container you have applied it to, providing a scrollbar.

However, the overflow:auto; setting is inherited by the manage popup screen which then is displayed within the original container, not as an independantly sized popup. When the original container is fairly small (Ie 225x225 px), this results in most of the manage screen being invisible (outside the cropped area), without any scroll facility.

Is there any way to  suppress this inheritance

 
New Post
12/30/2011 4:45 PM
 
Westa,
This works for me. Thank you very much.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to Limit size of HTML moduleHow to Limit size of HTML module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out