Table Display Problem

Discussion in 'HTML' started by Ryan Stewart, Dec 23, 2003.

  1. Ryan Stewart

    Ryan Stewart Guest

    How about a style sheet, a valid link, and what you want the page to look
    like?

    "NeoPhreak" <> wrote in message
    news:JeSDb.7610$...
    > I have a problem displaying this in internet explorer. I have gone

    through
    > my tables over and over and I cannot figure out what the problem is with
    > this code. It is PHP page but that doesn't effect it because it dispalys
    > the same without the php coding also. When I bring the page up in
    > dreamweaver it displays the design right.. but when i preview it in

    explorer
    > it doesn't work.
    >
    > Here's the link to see what it looks like distorted in html without the

    php
    > added: http://www.neophreak.com/testing/template.htm
    >
    > Here's the coding.. Any help would be greatly appriciated.

    *snip*
     
    Ryan Stewart, Dec 23, 2003
    #1
    1. Advertising

  2. Ryan Stewart

    NeoPhreak Guest

    I have a problem displaying this in internet explorer. I have gone through
    my tables over and over and I cannot figure out what the problem is with
    this code. It is PHP page but that doesn't effect it because it dispalys
    the same without the php coding also. When I bring the page up in
    dreamweaver it displays the design right.. but when i preview it in explorer
    it doesn't work.

    Here's the link to see what it looks like distorted in html without the php
    added: http://www.neophreak.com/testing/template.htm

    Here's the coding.. Any help would be greatly appriciated.

    <html>
    <head>
    <link href="../style.css" rel="stylesheet" type="text/css">
    <title>NeoPhreak Online</title>
    <script>
    function load()
    {
    window.status="NeoPhreak Online...... The Source Of It All!"
    }
    </script>

    </head>
    <body bgcolor="#666666" onload="load()">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="162"><img src="../images/spacer.gif" width="162" height="1"
    border="0"></td>
    <td width="38" height="3"><img src="../images/spacer.gif" width="38"
    height="1" border="0"></td>
    <td width="84" height="3"><img src="../images/spacer.gif" width="84"
    height="1" border="0"></td>
    <td width="404" height="3"><img src="../images/spacer.gif"
    width="404" height="1" border="0"></td>
    <td width="100%" height="3"><img src="../images/spacer.gif"
    width="112" height="1" border="0"></td>
    </tr>
    <tr>
    <td colspan="4" width="688" height="62">
    <img src="../images/demo_r1_c1.jpg" border="0" width="688"
    height="62"></td>
    <td rowspan="3" background="../images/demo_r1_c5.jpg"
    height="135"></td>
    </tr>
    <tr>
    <td colspan="3" width="284" height="46">
    <img src="../images/demo_r2_c1.jpg" border="0" width="284"
    height="46"></td>
    <td width="404" background="../images/demo_r2_c4.jpg" height="46">
    <!-- Menu ------------------------------>
    <!-- End Menu -------------------------->
    </td>
    </tr>
    <tr>
    <td colspan="2" height="27" width="200">
    <img src="../images/demo_r3_c1.jpg" border="0" width="200"
    height="27"></td>
    <td colspan="2" height="27" width="488"
    background="../images/demo_r3_c3.jpg">
    <!-- Sub Menu -------------------------->
    <!-- End Sub Menu ---------------------->
    </td>
    </tr>
    <tr>
    <td height="148" background="../images/demo_r4_c1.jpg" align="center"
    valign="top" width="162">
    <!-- Login ----------------------------->
    <!-- End Login ------------------------->
    </td>
    <td colspan="4" rowspan="5" align="left" valign="top">
    <!--Enter Body Data Here-------------->
    <!-- Body Stop ------------------------->
    </td>
    </tr>
    <tr>
    <td height="78" width="162" background="../images/demo_r5_c1.jpg"
    valign="top" align="center">
    <!-- Logout Link ----------------------->
    <!-- End Logout ------------------------>
    </td>
    </tr>
    <tr>
    <td height="133" width="162" background="../images/demo_r6_c1.jpg"
    valign="top" align="center">
    <!-- Headlines ------------------------->
    <!-- End Headlines --------------------->
    </td>
    </tr>
    <tr>
    <td height="106" width="162"
    background="../images/demo_r8_c1.jpg"><img src="../images/demo_r7_c1.jpg"
    border="0" alt="" width="162" height="106"></td>
    </tr>
    <tr>
    <td width="162" background="../images/demo_r8_c1.jpg" height="100%">
    <img src="../images/spacer.gif" width="1" height="100" border="0">
    </td>
    </tr>
    </table>
    </body>
    </html>



    Thanks for the help.

    NeoPhreak >.<
     
    NeoPhreak, Jan 1, 2004
    #2
    1. Advertising

  3. Ryan Stewart

    NeoPhreak Guest

    I ran my page through the w3c html 4.1 transitional validator and modified
    my code to validate for the most part (everything but ALT tags)
    BUT... It still doesn't display right... can't figure it out

    <html>
    <head>
    <link href="../style.css" rel="stylesheet" type="text/css">
    <title>NeoPhreak Online</title>
    <script type="text/javascript">
    function load()
    {
    window.status="NeoPhreak Online...... The Source Of It All!"
    }
    </script>

    </head>
    <body bgcolor="#666666" onload="load()">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="162" height="1"><img src="../images/spacer.gif" width="162"
    height="1" border="0"></td>
    <td width="38" height="1"><img src="../images/spacer.gif" width="38"
    height="1" border="0"></td>
    <td width="84" height="1"><img src="../images/spacer.gif" width="84"
    height="1" border="0"></td>
    <td width="404" height="1"><img src="../images/spacer.gif"
    width="404" height="1" border="0"></td>
    <td width="100%" height="1"><img src="../images/spacer.gif"
    width="112" height="1" border="0"></td>
    </tr>
    <tr>
    <td colspan="4" width="688" height="62">
    <img src="../images/demo_r1_c1.jpg" border="0" width="688"
    height="62"></td>
    <td style="background-image:url(../images/demo_r1_c5.jpg)" rowspan="3"
    height="135"></td>
    </tr>
    <tr>
    <td colspan="3" width="284" height="46">
    <img src="../images/demo_r2_c1.jpg" border="0" width="284"
    height="46"></td>
    <td width="404" style="background-image:url(../images/demo_r2_c4.jpg)"
    height="46">
    <!-- Menu ============================ -->
    <!-- End Menu ======================== -->
    </td>
    </tr>
    <tr>
    <td colspan="2" height="27" width="200">
    <img src="../images/demo_r3_c1.jpg" border="0" width="200"
    height="27"></td>
    <td colspan="2" height="27" width="488"
    style="background-image:url(../images/demo_r3_c3.jpg)">
    <!-- Sub Menu ======================== -->
    <!-- End Sub Menu ==================== -->
    </td>
    </tr>
    <tr>
    <td height="148"
    style="background-image:url(../images/demo_r4_c1.jpg)" align="center"
    valign="top" width="162">
    <!-- Login =========================== -->
    <!-- End Login ======================= -->
    </td>
    <td colspan="4" rowspan="5" align="left" valign="top">
    <!-- Enter Body Data Here ============ -->
    <!-- Body Stop ======================= -->
    </td>
    </tr>
    <tr>
    <td height="78" width="162"
    style="background-image:url(../images/demo_r5_c1.jpg)" valign="top"
    align="center">
    <!-- Logout Link ===================== -->
    <!-- End Logout ====================== -->
    </td>
    </tr>
    <tr>
    <td height="133" width="162"
    style="background-image:url(../images/demo_r6_c1.jpg)" valign="top"
    align="center">
    <!-- Headlines ======================= -->
    <!-- End Headlines =================== -->
    </td>
    </tr>
    <tr>
    <td height="106" width="162"
    style="background-image:url(../images/demo_r8_c1.jpg)"><img
    src="../images/demo_r7_c1.jpg" border="0" alt="" width="162"
    height="106"></td>
    </tr>
    <tr>
    <td width="162" valign="top"
    style="background-image:url(../images/demo_r8_c1.jpg)">
    <img src="../images/spacer.gif" width="1" height="100" border="0">
    </td>
    </tr>
    </table>
    </body>
    </html>
     
    NeoPhreak, Jan 1, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Williams
    Replies:
    2
    Views:
    1,137
    Jacob Yang [MSFT]
    Aug 12, 2003
  2. Spartanicus

    Re: Opera table display problem/bug

    Spartanicus, Sep 5, 2004, in forum: HTML
    Replies:
    0
    Views:
    645
    Spartanicus
    Sep 5, 2004
  3. Rio
    Replies:
    4
    Views:
    1,202
  4. Jam Pa
    Replies:
    3
    Views:
    466
    Spartanicus
    Apr 28, 2005
  5. Replies:
    0
    Views:
    332
Loading...

Share This Page