Disable vertical scrolling

Permalink
Hi everyone,

On my top level page, for aesthethics only, I don't want the page to to be able to be scrolled vertically - in the attached screeenshot the page is scrolled to the bottom....I would like it to say there. Any help is appreciated!

1 Attachment

MarcYBB
 
teddenl replied on at Permalink Reply
teddenl
You could use the css overflow property and set it to hidden:
http://www.w3schools.com/cssref/pr_pos_overflow.asp...

Or you could let JQuery do it from within the top level page template:
<script type="text/javascript">
$('body').css('overflow','hidden');
</script>
MarcYBB replied on at Permalink Reply
MarcYBB
Thanks for getting back so quickly.
Could you tell me where to add this code? I am starting to see how a CMS works but I am still way down low on that slope.
Help is appreciated.

div {
width: 150px;
height: 150px;
overflow: hidden;
}
MrKDilkington replied on at Permalink Reply
MrKDilkington
@MarcYBB

What is the web site address?
MarcYBB replied on at Permalink Reply
MarcYBB
http://www.yourbrandbrokers.com