Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2003

    Unanswered: middle of the page!!

    I have assigned the code to display the text and button in the middle of the page vert and horiz but it's only centering it in horiz but not vert. why?

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="_Default" Culture="ar-BH" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

    <html dir="rtl" lang="ar-bh" xmlns="" >
    <head runat="server">
    <title>Untitled Page</title>
    <body dir="rtl" lang="ar-bh" bottommargin="5" leftmargin="5" rightmargin="5" topmargin="5">
    <form id="form1" runat="server">
    <table align="center" height="100%" width="100%" border="0" cellpadding="0" cellspacing="0" dir="rtl" lang="ar-bh">
    <td align="center" valign="middle" width="100%" height="100%">
    أهلا بكم في مركز استطلاع الرأي<br /><br />
    <asp:Button ID="btnRegister" runat="server" Text="دخول المشتركين" />&nbsp;<asp:Button ID="btnLogin"
    runat="server" Text="مشترك جديد" /></td>

  2. #2
    Join Date
    Mar 2003
    The Bottom of The Barrel
    Provided Answers: 1
    The table is within a form, the form is not aligned...
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Apr 2003
    it was kept by Microsoft Visual Web Developer Express

    do i have to keep it within a form?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts