www.webdeveloper.com
Results 1 to 2 of 2

Thread: centering page and it disapears

Threaded View

  1. #1
    Join Date
    May 2007
    Posts
    52

    Question centering page and it disapears

    Hello,
    I am creating a template but am having a few issues with centering it,

    At the moment it is all table based so i have added the following code to center the page

    The CSS
    Code:
    div.container {
        width:98%; 
        margin:1%;
    }
    
    table#table1 {
        text-align:center; 
        margin-left:auto; 
        margin-right:auto; 
        width:800px;
    }
    tr,td {
        text-align:left;
    }
    The table
    Code:
    <div class="container">
    <table id="table1">
      <tr>
        <td>
        .............
        </td>
      </tr>
    </table>
    </div>
    in firefox it is all fine however i installed the AOL Explorer and checked my page in there and for some reason it is a blank page,
    If i remove the code used to center the page then it all shows up fine, just not centered
    Is this a bug with AOL Explorer?
    Last edited by SharingDOODLES; 11-22-2007 at 03:24 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles