title: Need jQuery datepicker calendar to adjust a little bit to left
body: <p>I couldn't set the margin-right in datepicker div and it looks like this.. hidden under the scrollbar of window</p>
  
  <p><a href="https://i.stack.imgur.com/AmIzO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AmIzO.jpg" alt="enter image description here"></a></p>
  
  <p>I need it a little left so it is completely visible. </p>
  
  <p>I have this css:</p>
  
  <pre><code>.Datetext {
      background-position-x:right; background-repeat: no-repeat; 
      background-image:url(../Images/Cal.png); background-size:18px;
  }
  
  #ui-datepicker-div { font-size:12px; }
  </code></pre>
  
  <p>and this in my aspx:</p>
  
  <pre><code>&lt;asp:TemplateField HeaderText="Modified Date" ItemStyle-Width="10%" FooterStyle-Width="10%"&gt;
      &lt;ItemTemplate&gt;
          &lt;asp:TextBox ID="dtModDate" CssClass="Datetext2" Width="98%" runat="server" Text='&lt;%# Eval("DateAdded")%&gt;'&gt;&lt;/asp:TextBox&gt;
      &lt;/ItemTemplate&gt;
      &lt;FooterTemplate&gt;
          &lt;asp:TextBox ID="dtModDate2" CssClass="Datetext2" Width="98%" runat="server"&gt;
          &lt;/asp:TextBox&gt;
      &lt;/FooterTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>