Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    1
    Member #
    11417
    I have designed my webpage using tables, which is nothing new to me.

    Here is a copy of my code:

    ---------------------------------------------

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >

    <head>
    <title>WhitleyWarriors.net - REDESIGN</title>

    <meta http-equiv="content-type" content="text/html;charset=utf-8" />

    <style type="text/css">
    body {color: #000000;
    font-family: lucida sans unicode;
    margin-left: 0px;
    margin-top: 0px;}
    .small {font-size: 60%;
    color: #ffffff;
    font-family: lucida sans unicode;}
    </style>
    </head>

    <body background="img/bg.gif" >

    <!-- Start Banner / Menu / Spacer Table -->

    <table width="775" align="left" cellspacing="0" cellpadding="0" >
    <tr bgcolor="#373737">

    <!-- Start Indian 'Heed' -->
    <td rowspan="2" align="left" valign="top" bgcolor="#373737">
    <img src="img/newheed.jpg" alt="Indian Heed" />
    </td>
    <!-- End Indian 'Heed' -->

    <!-- Start Banner -->
    <td>
    <img src="img/bannerbg.jpg" alt="WhitleyWarriors.net Banner" />
    </td>
    </tr>
    <!-- End Banner -->

    <!-- Start Menu Bar -->
    <tr>
    <td valign="top" bgcolor="#000000" >
    <font color="#FFFFFF" face="lucida sans unicode"size="-1" >hello, horizontal menu bar will go here</font>
    </td>
    </tr>
    <!-- End Menu Bar -->

    <!-- Start Main Content - Left Column (Spacer - Welcome Message) -->
    <tr>
    <td bgcolor="#373737" >
    <font color="#ffffff" face="lucida sans unicode" size="-1">Welcome</font>
    </td>
    <!-- End Main Content - Left Column -->

    <!-- Start Main Content - Right/Center Column (Spacer - Date) -->
    <td align="right" class="small" bgcolor="#373737">
    Friday 23rd September
    </td>
    <!-- End Main Content - Left Column -->
    </tr>
    </table>
    <!-- End Banner / Menu / Spacer Table -->

    <!-- Start Main Content Table -->
    <table width="775" align="left">
    <tr>
    <td>
    <p>
    This text should be underneath the banner at the left handside, right below the word 'Welcome'.
    </p>
    <p>
    I'm quite experienced with HTML, however I cannot see why my table is appearing at the right rather than at the left
    as described in the previous paragraph.
    </p>
    </td>
    </tr>
    </table>
    <!-- End Main Content Table -->

    </body>
    </html>

    ---------------------------------------------------------------------

    The problem is explained better when the web page is viewed. But I shall try to explain the problem here.

    Basically, there are two tables in the webpage, (one above the other) to layout the:

    Top section (logo / banner /menu)

    and the bottom section:

    (main site content)

    However the bottom section is displaying at the right hand side of the page on the same line as the top section and I have no idea why.

    I have checked that all tags are closed, (as far as I can tell, they are.) and can't work out for the life of me what is going wrong. Any help would be greatly appreciated.


    I have attached a zipped folder containing my webpage and images. Please download it and have a lok as it will be easier to see what the problem is.

    Thanks again.
    Stephen.

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Solution... I am not sure at this point in time, you should note however your desired layout is achievable with your current code in Firefox (see screenshot).
    Attached Images Attached Images

  4. #3
    Senior Member tha_Gsheep's Avatar
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    188
    Member #
    780
    line 26: remove align="left"
    www.appletv.co.uk


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:53 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com