css - Unable to scroll the web page -


i developing website using ruby on rails. facing issue unable scroll webpage vertically. scroll bar appear doesn't scroll down. if resize webpage, contents fit in page displayed. using devise authentication signup/login/logout. if comment out following devise code, scroll work (for home page). can please me.

in application.html,

<html> <body> <div class="navbar navbar-fixed-top">  <ul class="navbar-text pull-right">     <% if user_signed_in? %>    <li class="dropdown">           <a href="#" class="dropdown-toggle" data-toggle="dropdown">               <%= current_user.email %><b class="caret"></b></a>      <ul class="dropdown-menu">           <li class="divider"></li>         <li><%= link_to 'edit profile', edit_user_registration_path %></li>           <li class="divider"></li>          <li><%= link_to 'my profile', users_show_path %></li>           <li class="divider"></li>          <li><%=link_to "logout", destroy_user_session_path, method: :delete%></li>      </ul>   </li>  </ul>    <% else %>   <ul class="navbar-text pull-right">   <%= link_to "sign up", new_user_registration_path, :class => 'navbar-link'  %> |   <%= link_to "login", new_user_session_path, :class => 'navbar-link'  %> </ul>--> <%end %>    <div class="contentcontainer"> <%= yield %> </div><!--end of content container div-->  </body> </html>  in custom.css,  .contentcontainer {   position: relative;   margin: 200px 50px;   min-height: 100%;   text-align: left;   width: 100%;   height: 100%;   overflow: scroll; } html {  width: 100%;  height: 100%; } body {     width: 1000px;    height: 100%;    margin: 0 auto;   font-family: arial, helvetica, sans-serif;   overflow: scroll; } 


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -