title: Vertical Scrollbar shows on IE only
body: <p>I have developed a website that displays at least 50 rows in a grid and sometimes needs scrolling up and down. I have developed this on Visual Studio 2008, C# as code behind, and is testing this on IE. When I have published it, it still works well with IE but not with other browsers. I cannot scroll anymore. Do I need to change something on my css?</p>
  
  <p>Here is my markup:</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewGenericOnlineReport.aspx.cs" Inherits="CamstarReportPortal.WebForms.OnlineQuery.NewGenericOnlineReport" MasterPageFile="~/Common/SiteMaster.Master" %&gt;
  
  &lt;%@ Register Assembly="multiColDD_List" Namespace="multiColDD_List" TagPrefix="ksj" %&gt;
  
  &lt;%@ Register Assembly="multiColDD_List.DropDowns" Namespace="multiColDD_List.DropDowns"
      TagPrefix="ksj" %&gt;
  
  &lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %&gt;
  &lt;asp:Content ID="contentMain" runat="server" ContentPlaceHolderID="cphContent"&gt;    
      &lt;link rel="stylesheet" type="text/css" href="../../Scripts/CSS/myStyle.css" /&gt;
      &lt;div&gt;
          &lt;h1&gt;
              Online Query
          &lt;/h1&gt;        
      &lt;/div&gt;
      &lt;div&gt;
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td class="label"&gt;
                      Query Name:
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;table&gt;
                          &lt;tr&gt;
                              &lt;td&gt;
                                  &lt;asp:DropDownList ID="DropDownList1" runat="server" Height="24px" Width="343px" 
                                      DataSourceID="sqldsUserQuery" DataTextField="USERQUERYNAME" 
                                      DataValueField="USERQUERYNAME" AutoPostBack="True"  AppendDataBoundItems="True"
                                      onselectedindexchanged="DropDownList1_SelectedIndexChanged"&gt;
                                      &lt;asp:ListItem Text="" Value=""&gt;&lt;/asp:ListItem&gt;
                                  &lt;/asp:DropDownList&gt;
                                  &lt;%--&lt;asp:DropDownList ID="DropDownList1" Enabled="false" Width="400px" runat="server" AutoPostBack="true"&gt;
                                  &lt;/asp:DropDownList&gt;
                                  &lt;asp:DropDownExtender runat="server" ID="popupdropdown" DropDownControlID="pnlGrid" TargetControlID="DropDownList1"&gt;
                                  &lt;/asp:DropDownExtender&gt;
                                  &lt;asp:Panel runat="server" ID="pnlGrid" Style="display: none; visibility: hidden"&gt;
                                      &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
                                          DataKeyNames="UserQueryID,USERQUERYNAME" DataSourceID="sqldsUserQuery" style="table-layout:fixed;"  
                                          GridLines="None" 
                                          CssClass="mGrid" 
                                          AlternatingRowStyle-CssClass="alt" Width="70%"&gt;
                                          &lt;Columns&gt;
                                              &lt;asp:BoundField DataField="UserQueryName" HeaderStyle-Width="10%" 
                                                  ItemStyle-Width="10%" FooterStyle-Width="10%" HeaderText="UserQueryName" 
                                                  SortExpression="UserQueryName" &gt;
                                              &lt;FooterStyle Width="10%" /&gt;
                                              &lt;HeaderStyle Width="10%" /&gt;
                                              &lt;ItemStyle Width="10%" /&gt;
                                              &lt;/asp:BoundField&gt;
                                              &lt;asp:BoundField DataField="Description" HeaderStyle-Width="10%" 
                                                  ItemStyle-Width="10%" FooterStyle-Width="10%" HeaderText="Description" 
                                                  SortExpression="Description" &gt;
                                              &lt;FooterStyle Width="10%" /&gt;
                                              &lt;HeaderStyle Width="10%" /&gt;
                                              &lt;ItemStyle Width="10%" /&gt;
                                              &lt;/asp:BoundField&gt;
                                              &lt;asp:TemplateField HeaderStyle-Width="10%" ItemStyle-Width="10%" FooterStyle-Width="10%"&gt;
                                                  &lt;ItemTemplate&gt;
                                                      &lt;asp:LinkButton CommandName="Select" CommandArgument='&lt;%# Eval("UserQueryName") %&gt;' ID="LinkButton1" OnClick="LinkButton1_Click"
                                                          runat="server"&gt;Select&lt;/asp:LinkButton&gt;
                                                  &lt;/ItemTemplate&gt;
                                                  &lt;FooterStyle Width="10%" /&gt;
                                                  &lt;HeaderStyle Width="10%" /&gt;
                                                  &lt;ItemStyle Width="10%" /&gt;
                                              &lt;/asp:TemplateField&gt;
                                          &lt;/Columns&gt;
                                          &lt;AlternatingRowStyle CssClass="alt" /&gt;
                                      &lt;/asp:GridView&gt;
                                  &lt;/asp:Panel&gt;--%&gt;
                              &lt;/td&gt;
                              &lt;td&gt;
                                  &lt;asp:Button ID="cmdSearch" runat="server" Text="Search" 
                                      onclick="cmdSearch_Click" /&gt;
                              &lt;/td&gt;
                              &lt;td&gt;
                                  &lt;asp:Button ID="cmdExport" runat="server" Text="Export" 
                                      onclick="cmdExport_Click" /&gt;
                              &lt;/td&gt;
                          &lt;/tr&gt;
                      &lt;/table&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="label"&gt;
                      Description:
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:TextBox ID="txtBoxDescription" runat="server" TextMode="MultiLine" 
                          Width="99%" ReadOnly="True" Rows="3"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="label" valign="top"&gt;
                      Parameters
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="False" UpdateMode="Conditional"&gt;
                          &lt;ContentTemplate&gt;
                              &lt;asp:GridView ID="gvParameters" runat="server" AutoGenerateColumns="false" style="table-layout:fixed;"  
                                            GridLines="None"
                                            CssClass="mGrid"                                           
                                            CellPadding="0" OnRowDataBound="gvParameters_RowDataBound"
                                            AlternatingRowStyle-CssClass="alt"&gt;
                                  &lt;Columns&gt;
                                      &lt;asp:BoundField DataField="userqueryparametername" HeaderStyle-Width="10%" HeaderStyle-CssClass = "hideGridColumn" ItemStyle-CssClass="hideGridColumn"
                                                      ItemStyle-Width="10%" FooterStyle-Width="10%" HeaderText="Parameter Name" 
                                                      SortExpression="userqueryparametername" &gt;
                                                  &lt;FooterStyle Width="10%" /&gt;
                                                  &lt;HeaderStyle Width="10%" /&gt;
                                                  &lt;ItemStyle Width="10%" /&gt;
                                      &lt;/asp:BoundField&gt;
                                      &lt;asp:BoundField DataField="ParameterName" HeaderStyle-Width="10%" 
                                                      ItemStyle-Width="10%" FooterStyle-Width="10%" HeaderText="Parameter Name" 
                                                      SortExpression="ParameterName" &gt;
                                                  &lt;FooterStyle Width="10%" /&gt;
                                                  &lt;HeaderStyle Width="10%" /&gt;
                                                  &lt;ItemStyle Width="10%" /&gt;
                                      &lt;/asp:BoundField&gt;
                                      &lt;asp:TemplateField HeaderText="Parameter Value" HeaderStyle-Width="10%" ItemStyle-Width="10%" FooterStyle-Width="10%"&gt;
                                          &lt;ItemTemplate&gt;
                                              &lt;asp:TextBox ID="txtParamValue" CssClass="text" Font-Size="Small" Text=' &lt;%# Eval("DEFAULTVALUE").ToString() %&gt;' runat="server" Width="97%"&gt;&lt;/asp:TextBox&gt;
                                          &lt;/ItemTemplate&gt;
                                          &lt;FooterStyle Width="10%" /&gt;
                                          &lt;HeaderStyle Width="10%" /&gt;
                                          &lt;ItemStyle Width="10%" /&gt;
                                      &lt;/asp:TemplateField&gt;
                                  &lt;/Columns&gt;
                                  &lt;AlternatingRowStyle CssClass="alt" /&gt;
                              &lt;/asp:GridView&gt;
                          &lt;/ContentTemplate&gt;
                      &lt;/asp:UpdatePanel&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/div&gt;
      &lt;div&gt;        
          &lt;asp:GridView ID="GridView1" runat="server" style="table-layout:fixed;"  
                        GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging"
                        CssClass="mGrid" OnDataBound="GridView1_DataBound" OnRowDataBound="GridView1_RowDataBound"
                        AlternatingRowStyle-CssClass="alt" AllowPaging="true" PagerStyle-CssClass="pgr"
                        Width ="100%" PageSize="50"&gt;
              &lt;PagerSettings Position="TopAndBottom" /&gt;
              &lt;PagerStyle CssClass="pgr" /&gt;
              &lt;AlternatingRowStyle CssClass="alt"&gt;&lt;/AlternatingRowStyle&gt;
          &lt;/asp:GridView&gt;
  
      &lt;/div&gt;
      &lt;div&gt;
          &lt;asp:SqlDataSource 
              ID="sqldsUserQuery" 
              runat="server" 
              ConnectionString="&lt;%$ ConnectionStrings:CamstarOLTP %&gt;"
              ProviderName="&lt;%$ ConnectionStrings:CamstarOLTP.ProviderName %&gt;" 
              SelectCommand="SELECT uq.userqueryname
        ,REPLACE(uq.description,'ISRPT|','')description
        ,uq.querytext
        ,uq.userqueryid
  FROM userquery uq
  WHERE uq.objectcategory = 'ONLINEQUERY' AND SUBSTR(uq.description,0,5) = 'ISRPT'
  ORDER BY uq.userqueryname"&gt;
          &lt;/asp:SqlDataSource&gt;
          &lt;asp:SqlDataSource 
              ID="SqlDataSource1" 
              runat="server" 
              ConnectionString="&lt;%$ ConnectionStrings:CamstarOLTP %&gt;"
              ProviderName="&lt;%$ ConnectionStrings:CamstarOLTP.ProviderName %&gt;" 
              SelectCommand="SELECT uq.userqueryname
                                ,REPLACE(uq.description,'ISRPT|','')description
                                ,uq.querytext
                                ,uq.userqueryid
                             FROM userquery uq
                             WHERE uq.objectcategory = 'ONLINEQUERY' AND SUBSTR(uq.description,0,5) = 'ISRPT'
                                   AND uq.userqueryname = :que
                             ORDER BY uq.userqueryname"&gt;
              &lt;SelectParameters&gt;
                  &lt;asp:ControlParameter ControlID="DropDownList1" Name="que" 
                      PropertyName="Text" /&gt;
              &lt;/SelectParameters&gt;
          &lt;/asp:SqlDataSource&gt;
          &lt;asp:SqlDataSource 
              ID="sqldsQueryParams" 
              runat="server" 
              ConnectionString="&lt;%$ ConnectionStrings:CamstarOLTP %&gt;"
              ProviderName="&lt;%$ ConnectionStrings:CamstarOLTP.ProviderName %&gt;" 
              SelectCommand="SELECT uqp.displaytext ParameterName
                                    ,uqp.userqueryparametername
                                    ,uqp.defaultvalue
                                    ,uqp.dynamicvalue
                                    ,uqp.paramsequence
                                    ,uqp.useforblockrows
                                    ,uqp.userqueryid
                             FROM userqueryparameter uqp
                             WHERE uqp.userqueryid = :queryid
                             ORDER BY uqp.paramsequence"&gt;
              &lt;SelectParameters&gt;
                  &lt;asp:ControlParameter ControlID="hfQueryID" Name=":queryid" PropertyName="Value" /&gt;
              &lt;/SelectParameters&gt;
          &lt;/asp:SqlDataSource&gt;
          &lt;asp:SqlDataSource ID="sqldsQueryResult" 
                             runat="server" 
                             ConnectionString="&lt;%$ ConnectionStrings:CamstarODS %&gt;"
                             ProviderName="&lt;%$ ConnectionStrings:CamstarODS.ProviderName %&gt;"&gt;
          &lt;/asp:SqlDataSource&gt;
          &lt;asp:HiddenField ID="hfQueryID" runat="server" /&gt;
          &lt;asp:HiddenField ID="hfQueryScript" runat="server" /&gt;
          &lt;asp:HiddenField ID="hfIndex" runat="server" /&gt;        
      &lt;/div&gt;
      &lt;!--&lt;div&gt;
          &lt;script type="text/javascript"&gt;
              function thirty_pc() {
                  var height = $(window).height();
                  var thirtypc = (100 * (height - 405)) / 100;
                  thirtypc = parseInt(thirtypc) + 'px';
                  $("#divContent").css('height', thirtypc);
  
              }
  
              $(document).ready(function() {
                  thirty_pc();
                  $(window).bind('resize', thirty_pc);
              });
          &lt;/script&gt;
      &lt;/div&gt;--&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>Thanks!</p>