Table Display Problem

R

Ryan Stewart

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

NeoPhreak said:
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*
 
N

NeoPhreak

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 >.<
 
N

NeoPhreak

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>
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top