Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7795243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:01:07+00:00 2026-06-01T23:01:07+00:00

I have a apsx page and in that page I have two buttons called

  • 0

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

<table>
<tr>
    <td align="right" class="bar">
        <table>
            <tr>
                <td>
                    <asp:Button ID="btnSave" runat="server" Text="Save"/>
                </td>
                <td>
                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
                </td>
            </tr>
        </table>
    </td>
</tr>   

and my css script is

.bar
{
background-position: center;
border-width: 1px;
border-color: #CCCCCC;
vertical-align: middle;
height: 30px;
border-top-style: solid;
}

and am getting the style as

enter image description here

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….

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..

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T23:01:09+00:00Added an answer on June 1, 2026 at 11:01 pm

    Here’s the solution in JSFiddle:

    http://jsfiddle.net/SX7n3/6/

    For one, lose the table…

    <div id="content">
        Hello World!
    </div>
    
    <div class="clear">&#160;</div>
    
    <div class="bar">
        <div class="buttons">    
              <button type="button" id="submit">Submit</button>
              <button type="button" id="cancel">Cancel</button>
        </div>    
    </div>    
    
    .content
    {
        min-height:800px;
        width: 100%;
    }
    
    .bar
    {
        padding-top: 4px;
        border-width: 1px;
        border-color: #000;
        background-color: #ccc;
        height: 30px;
        border-style: solid;
    }
    
    .buttons
    {
        float: right;        
    }
    
    .clear
    {
        clear: both;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have two popup windows in my Home Page (Default.aspx) like below : apsx
Have some dates in my local Oracle 11g database that are in this format:
I have apsx page that has the following simple code: <%@ Page Title= Language=C#
So I have an apsx page with 2 buttons at the top and an
have a problem. At first look at this HTML <div id=map style=background-image: url(map.png); width:
I have an apsx page in the asp.net application, elements of which are built
i have a MVC application that works fine; but now i need to put
I have some code in <head> in .apsx I would like to move to
Have a network location that shows paths in the 8.3 short format. I need
Have data that has this kind of structure. Will be in ascending order by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.