title: displaying css style in aspx page
body: <p>I have a apsx page and in that page I have two buttons called save and cancel, i need to display this with some css style, my script is</p>
  
  <pre><code>&lt;table&gt;
  &lt;tr&gt;
      &lt;td align="right" class="bar"&gt;
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;asp:Button ID="btnSave" runat="server" Text="Save"/&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:Button ID="btnCancel" runat="server" Text="Cancel" /&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/td&gt;
  &lt;/tr&gt;   
  </code></pre>
  
  <p></p>
  
  <p>and my css script is</p>
  
  <pre><code>.bar
  {
  background-position: center;
  border-width: 1px;
  border-color: #CCCCCC;
  vertical-align: middle;
  height: 30px;
  border-top-style: solid;
  }
  </code></pre>
  
  <p>and am getting the style as</p>
  
  <p><img src="https://i.stack.imgur.com/hVWhG.png" alt="enter image description here"></p>
  
  <p>I have few more controls above these save and cancel buttons...the problems is this save and cancel buttons with the bar style comes right after the controls above them....</p>
  
  <p>now these buttons are displaying at the center of the page and I need to display these save and cancel buttons with the bar style at the bottom of the page....how can I do this..</p>
  
  <p>note:I put the position:absolute, it will disturb the alignments in other forms, coz am using this same bar style in all my forms......in other forms I have the controls that fills the page and automatically the save cancel buttons are coming at the bottom, but here I have only 4 controls...so the save and cancel button is at center, thats what am trying to display at the buttom</p>