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 467443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:34:52+00:00 2026-05-12T23:34:52+00:00

i want to reduce the spacing inside my web page: The problem is the

  • 0

i want to reduce the spacing inside my web page:

The problem is the buttons below “back” and “next” is not visible without scrolling down

I have posted the code below:

 <asp:View runat="server" ID="view_1">
                <asp:ScriptManager ID="scrMgr" runat="server">
                </asp:ScriptManager>
                <h1 class="blue" style="margin-bottom:0px;">
                    <asp:Label ID="lbl_viewTitle1" runat="server" Text="Label"></asp:Label>
                </h1>
                <div style="margin:0px; padding:0px; border:none; clear:both;">
                <table border="0">
                    <tr>
                        <td>
                            <table border="1" style="border-color: Green; border-width: thin;">
                                <tr>
                                    <td valign="top" id="tdReadableContent" runat="server">
                                        <div style="height: 167px; width:450px;">
                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td class="blue" style="height:16px!important;" colspan="3"><b>Your Current Settings</b></td>
                                                </tr>
                                                <tr style="width:10px"><td colspan="3"></td></tr>
                                                <tr id="trUserDetail_read" runat="server">
                                                    <td class="tabRow" valign="baseline">
                                                        <asp:Label ID="lbl_view1_userID_Read" runat="server" Text="User ID"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txt_view1_userID_Read" ReadOnly="true" runat="server" AutoPostBack="true" 
                                                        CssClass="text_box_gray"></asp:TextBox><div class="smallText" nowrap>
                                                            &nbsp;&nbsp;<%--(This would be the ID you would normally log on with.)--%></div>
                                                    </td>
                                                    <td>&nbsp;</td>
                                                </tr>

                                                <tr>
                                                    <td width="150" class="tabRow">
                                                        <asp:Label ID="lbl_panview3_label2_read" runat="server" Text="Store Number "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txt_panview3_input2_read" CssClass="text_box_gray" ReadOnly="true" runat="server" MaxLength="4"></asp:TextBox>
                                                    </td>
                                                    <td>&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td class="tabRow">
                                                        <asp:Label ID="lbl_view1_surname_read" runat="server" Text="Surname"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txt_view1_surname_read" ReadOnly="true" CssClass="text_box_gray" runat="server"></asp:TextBox>
                                                    </td>
                                                    <td>&nbsp;</td>
                                                </tr>

                                                <tr id="trFirstName_Read" runat="server">
                                                    <td width="150" class="tabRow">
                                                        <asp:Label ID="lbl_view1_firstName_Read" runat="server" Text="First Name"></asp:Label>
                                                    </td>
                                                    <td width="200">
                                                        <asp:TextBox ID="txt_view1_firstname_Read" ReadOnly="true" runat="server" CssClass="text_box_gray"></asp:TextBox>
                                                    </td>
                                                    <td>&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td></td>
                                                    <td>
                                                        &nbsp;&nbsp;
                                                        <%--<asp:Label ID="Label1" CssClass="errorText" runat="server"></asp:Label>--%>
                                                    </td>    
                                                </tr>
                                                <tr>
                                                    <td class="tabRow">&nbsp;
                                                        <%--<asp:Label ID="Label2" runat="server" Text="Employee Number "></asp:Label>--%>
                                                    </td>
                                                    <td width="200">&nbsp;
                                                        <%--<asp:TextBox ID="TextBox1" runat="server" 
                                                        CssClass="text_box_3" MaxLength="10"></asp:TextBox>--%>
                                                    </td>
                                                </tr>    
                                            </table>
                                        </div>
                                        <asp:Label runat="server" ID="label11"></asp:Label>
                                        <hr class="hrRequestorForm" />
                                        <div id="divRoleDepartment_ReadOnly" runat="server" style="margin-left:20px; height:390px; overflow:auto;" class="tabel1Parent">
                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td>
                                                        <asp:Panel ID="panelStore_Read" runat="server">
                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tr>
                                                                    <td valign="top">
                                                                        <asp:GridView ID="gvRoleDepartment_ReadOnly" runat="server" AutoGenerateColumns="false">
                                                                            <Columns>
                                                                            <asp:TemplateField>
                                                                                        <ItemTemplate>
                                                                                            <asp:CheckBox ID="chkRole_Read" runat="server" Enabled="false" />
                                                                                            <input type="hidden" id="hdRoleCode_Read" value="<%#Bind('ddl_code') %>" runat="server" />
                                                                                            <input type="hidden" id='hdDepCode_Read' value="<%#Bind('dep_code') %>" runat="server" />
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                <asp:BoundField DataField="ddl_item" HeaderText="Role" ItemStyle-CssClass="roleColumn2" />
                                                                                <asp:BoundField DataField="dep_name" HeaderText="Department" ItemStyle-CssClass="departmentColumn" />
                                                                            </Columns>
                                                                            <EmptyDataTemplate>
                                                                                <div class="tabel1Parent">
                                                                                <table border='0' cellpadding='0' cellspacing='0' style='border-color: green; border-width: thin;
                                                                                    width: 390px; border-left: #9787b1 solid 1px; border-top: #9787b1 solid 1px;'>
                                                                                    <tr>
                                                                                        <td class='roleColumn'>
                                                                                            <b>Role</b>
                                                                                        </td>
                                                                                        <td class='departmentColumn'>
                                                                                            <b>Department</b>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                                </div>
                                                                            </EmptyDataTemplate>
                                                                        </asp:GridView>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tr>
                                                                    <td valign="top">
                                                                        &nbsp;
                                                                    </td>
                                                                    <td>
                                                                        &nbsp;
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </td>
                                    <td valign="top" >
                                        <div style="height:160px; width:450px;"> 
                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td class="blue" style="height:16px!important;" colspan="3"><b>
                                                    <asp:Label ID="lblNewSettings" runat='server' Text="Your New Settings"></asp:Label> 
                                                    </b></td>
                                                </tr>
                                                <tr id="trUserDetail" runat="server">
                                                    <td class="tabRow" valign="baseline">
                                                        <asp:Label ID="lbl_view1_userID" runat="server" Text="User ID "></asp:Label>
                                                    </td>
                                                    <td class="textFieldColumn">
                                                        <asp:TextBox ID="txtUserID" TabIndex="1" text="Enter User id.." 
                                                            runat="server" AutoPostBack="true" 
                                                            CssClass="text_box_highlight"
                                                            onfocus="defaultStyle();"
                                                            onkeypress="ChangeUserIdBackground();"
                                                            MaxLength ="50"></asp:TextBox><span id="starUserId" runat="server" style="color:Red">&nbsp;*</span>
                                                            <asp:RequiredFieldValidator ID="rfvUserID"  runat="server" ControlToValidate="txtUserID"
                                                            ErrorMessage=" Required field" ValidationGroup="Form2"></asp:RequiredFieldValidator><div class="smallText" nowrap>
                                                            &nbsp;&nbsp;(This would be the ID you would normally log on with.)</div></td>

                                                </tr>
                                                <tr>
                                                    <td colspan="2" style="padding-left:135px">
                                                        <asp:Label ID="lblUserExists" CssClass="errorText" runat="server"></asp:Label>
                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                                                            ControlToValidate="txt_panview3_input2" ErrorMessage="Store should be a number" 
                                                            ValidationExpression="[0-9]+"></asp:RegularExpressionValidator>
                                                    </td>    
                                                </tr>
                                                <tr>
                                                    <td width="150" class="tabRow">
                                                        <asp:Label ID="lbl_panview3_label2" runat="server" Text="Store Number "></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txt_panview3_input2" runat="server" 
                                                        MaxLength="4" CssClass="text_box_3">0000</asp:TextBox>
                                                        <span id="starStoreNumber" runat="server" style="color:Red">&nbsp;*</span>
                                                        <asp:RequiredFieldValidator ID="rfvStoreNumber" runat="server" 
                                                        ControlToValidate="txt_panview3_input2" ErrorMessage=" Required field" 
                                                        ValidationGroup="Form2" ></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tabRow">
                                                        <asp:Label ID="lbl_view1_surname" runat="server" Text="Surname "></asp:Label>
                                                    </td>
                                                    <td >
                                                        <asp:TextBox ID="txt_view1_surname" runat="server" 
                                                            CssClass="text_box_3"
                                                            MaxLength ="50"></asp:TextBox>
                                                            <span id="starSurName" runat="server" style="color:Red">&nbsp;*</span>
                                                        <asp:RequiredFieldValidator ID="rfvSurName" runat="server" ControlToValidate="txt_view1_surname"
                                                            ErrorMessage=" Required field" ValidationGroup="Form2"></asp:RequiredFieldValidator>

                                                    </td>
                                                </tr>
                                                <tr id="trFirstName" runat="server">
                                                    <td width="150" class="tabRow">
                                                        <asp:Label ID="lbl_view1_firstName" runat="server" Text="First Name"></asp:Label>
                                                    </td>
                                                    <td >
                                                        <asp:TextBox ID="txt_view1_firstname" runat="server" 
                                                            CssClass="text_box_3"
                                                            MaxLength ="50"></asp:TextBox>
                                                            <span id="starFirstName" runat="server" style="color:Red">&nbsp;*</span>
                                                            <asp:RequiredFieldValidator ID="rfvFirstName" runat="server" ControlToValidate="txt_view1_firstname"
                                                            ErrorMessage=" Required field" ValidationGroup="Form2"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tabRow">
                                                        <asp:Label ID="lblEmployeeNumber" runat="server" Text="Employee Number "></asp:Label>
                                                    </td>
                                                    <td width="280">
                                                        <asp:TextBox ID="txtEmployeeNumber" runat="server" 
                                                        CssClass="text_box_3" MaxLength="6"></asp:TextBox>
                                                        <span id="starEmployeeNumber" runat="server" style="color:Red">&nbsp;*</span>
                                                        <asp:RequiredFieldValidator ID="rfvEmplyeeNumber" runat="server" ControlToValidate="txtEmployeeNumber"
                                                            ErrorMessage="Required field" ValidationGroup="Form2"></asp:RequiredFieldValidator>
                                                    </td>
                                                    <td>
                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                                                        ControlToValidate="txtEmployeeNumber" ErrorMessage="Enter a numeric value" 
                                                        ValidationExpression="[0-9]+"></asp:RegularExpressionValidator>
                                                    </td>
                                                </tr>                                                
                                            </table>
                                            <b><asp:Label ID="lblCaption2" runat="server" Text="Note: All fields are mandatory" ForeColor="Red"></asp:Label></b>
                                        </div>
                                        <hr class="hrRequestorForm" />
                                        <div style="padding-left:20px;" id="divRoleDepartment" runat="server">
                                            <div class="tabel1Parent">
                                                <table border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td>
                                                            <asp:Panel ID="panelStore" runat="server">
                                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                    <tr>
                                                                        <td valign="top">
                                                                            <asp:GridView ID="gvRoleDepartment" runat="server" AutoGenerateColumns="false">
                                                                                <Columns>
                                                                                    <asp:TemplateField>
                                                                                        <ItemTemplate>
                                                                                            <asp:CheckBox ID="chkRole" runat="server" />
                                                                                            <input id="hdRoleCode" runat="server" type="hidden" 
                                                                                                value="<%#Bind('ddl_code') %>" />
                                                                                            <input id="hdDepCode" runat="server" type="hidden" 
                                                                                                value="<%#Bind('dep_code') %>" />
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:BoundField ControlStyle-CssClass="roleColumn" ControlStyle-Width="300px" 
                                                                                        DataField="ddl_item" HeaderText="Role" ItemStyle-CssClass="roleColumn" />
                                                                                    <asp:BoundField ControlStyle-CssClass="departmentColumn" 
                                                                                        ControlStyle-Width="120px" DataField="dep_name" HeaderText="Department" 
                                                                                        ItemStyle-CssClass="departmentColumn" />
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                            <span ID="lbl_chkBx_store_workunit" class="errorText"></span>
                                                                        </td>
                                                                        <td>
                                                                            &nbsp;
                                                                        </td>
                                                                    </tr>

                                                                </table>
                                                            </asp:Panel>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <br />
                                            <div>
                                                <table>
                                                    <tr>
                                                        <td>
                                                            <asp:Label ID="lblException" runat="server" CssClass="errorText"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <br />
                                        </div>
                                    </td>                                    
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <br />
                            <div>
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Button ID="btn_view1_back" runat="server" Text="Back" CausesValidation="False"
                                                ValidationGroup="Form2" />
                                            <asp:Button ID="btn_View1_Next" runat="server" CausesValidation="true" Text="Next"
                                                ValidationGroup="Form2" OnClientClick="return check_sel();" UseSubmitBehavior="True" />
                                            <%
                                                'mahesh code
                                                'replaced   OnClientClick="return ValidateDropDown(); with OnClientClick="return check_sel() "  
                                            %>
                                        </td>
                                    </tr>
                                </table>
                            </div>  
                            <br />
                        </td>
                    </tr>
                </table>
                </div>
            </asp:View>

Please help @!

  • 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-05-12T23:34:52+00:00Added an answer on May 12, 2026 at 11:34 pm

    Another option, provided you do not have to support old versions of Internet Explorer, is to use position: fixed to “stick” your buttons to the bottom of the viewable window.

    <div style="position: fixed; bottom: 0px;">
        <asp:Button ID="btn_view1_back" ... /> 
        <asp:Button ID="btn_view1_next" ... />
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to reduce postback in one of my application page and use ajax
Motivation: I want to reduce the size of the page when is accessed, so
I used the ajax's slider extender control in my web page. I want to
i want to reduce the number of times i hit the data base to
I have a scenario where I want to reduce the margin of a Button
I am designing an application where I want to reduce the burden on the
I will build a system where I want to reduce single-point-of-failures, and I need
Ruby 1.8.6 I have an array containing numerical values. I want to reduce it
I want to write a map/reduce job to select a number of random samples
i want to filter my gps points (reduce the number of points shown) 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.