Design and CSS styles
Version 5.x > Design and CSS styles > Forced Vertical Scrollbar View modes: 
User avatar
Member
Member
mcross-epic-premier - 12/16/2010 8:00:08 AM
   
Forced Vertical Scrollbar
I would like to force a vertical scrollbar on every page (currently approx 41 pages) of our website. I found the following code to assist:

html, body {
height: 100%;
margin: 0 0 1px;
padding: 0;
}

I'm wondering how the easiest way to accomplish my goal. Is there a setting in Kentico that can accomplish what I'm wanting or will I need to apply this code to every page.

And I'm open to other code suggestions.
Thanks!

User avatar
Member
Member
kentico_michal - 12/17/2010 7:39:29 AM
   
RE:Forced Vertical Scrollbar
Hi,

Regrettably, there is no setting that would allow you to achieve it. I would recommend you to insert your css code into the CSS stylesheet, that is assigned to your site and it will be applied to all pages automatically (Site Manager -> Development -> CSS Stylesheets). More information related to CSS styles can be found in CSS stylesheets and design section in Developer’s guide.

Best regards,
Michal Legen