Hi Jay,
Yes the forum has stripped out a lot of the code in the example. ill give it another shot.
1. Create anew
module in the Joomla backend. In Joomla 1.5 choose custom html for the moduel type.
2. In html mode you need to add the following html markup (replace the square brackets with < and >:
[div class="overflow]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[/div]
3. Open your template_css.css file and at the very boti Jay,
Yes the forum has stripped out a lot of the code in the example. ill give it another shot.
1. Create anew module in the Joomla backend. In Joomla 1.5 choose custom html for the moduel type.
2. In html mode you need to add the following html markup (replace the square brackets with < and >:
[div class="overflow]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[p]This is my text.[/p]
[/div]
3. Open your template_css.css file and at the very bottom put the following:
.overflow {
height:300px;
overflow:auto
}
If the height of the text in the overflow container is less than 300px high then the scrollbars wont show, otherwise if it is longer then they will. Just adjust the height of the overflow div ie 300px for your needs.
Thanks Anthony