Jump to content

What is wrong w/ this code?! ><


ShadowIce

Recommended Posts

For some reason my table wont show like it should in the picture..

 

http://i406.photobucket.com/albums/pp148/DarkShadowWing/website-1.png

 

<?php
$myFile = "news.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
?>
<div id="templatebody" style="position:absolute;top:0px;left:0px;z-index:0">
  <table border="0" cellspacing="0" cellpadding="0" width="100%" height="1000">
    <tr>
      <td width="0%" background="_wizardimages/1/bg.gif" valign="top">
      <img src="_wizardimages/1/px1.gif" alt border="0" width="1" height="1"></td>
      <td valign="bottom" background="_wizardimages/1/bg_left.gif">
      <img src="_wizardimages/1/bg_left.gif" alt border="0" width="17" height="16"></td>
      <td valign="top">
      <table border="0" cellspacing="0" cellpadding="0" width="780" align="center">
        <tr>
          <td background="_wizardimages/1/fon_top.gif" height="22">
          <div align="right" style="margin-right: 25px;">
            <p align="left">
            <?php echo date("F j, Y | H:i:s A", time());?>
          </div>
          </td>
        </tr>
        <tr>
          <td>
          <img src="_wizardimages/1/logo.jpg" alt border="0" width="780" height="56"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>
          <table width="780" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td background="_wizardimages/1/fon1.gif" width="100%"> </td>
              <td background="_wizardimages/1/fon1.gif" width="118">
              <img src="_wizardimages/1/top02.gif" width="118" height="34"></td>
            </tr>
          </table>
          </td>
        </tr>
        <tr>
          <td width="780" height="200" style="background-image:url(_wizardimages/1/blue-winter-trees-forest-1.jpg); background-repeat:no-repeat; background-Position:center; background-attachment:fixed;">
        </tr>
      </table>
      <table border="0" cellspacing="0" cellpadding="0" width="780" align="center">
        <tr>
          <td background="_wizardimages/1/top01.gif">
          <marquee direction="left">
<?php
echo $theData;
?>
</marquee></td>
        </tr>
      </table>
      <p class="px" style="margin-top: 5px;"></p>
<!--
menu
-->
      <table border="0" cellspacing="0" cellpadding="0" width=480" align="left">
        <tr valign="top">
          <td width="45%">
          <table border="0" cellspacing="0" cellpadding="1" align="left">
            <tr bgcolor="#EBEBEB">
              <td>
              <p class="title01">
              <img src="_wizardimages/1/e01.gif" alt border="0" width="7" height="7"> </td>
            </tr>
            <tr bgcolor="#DADBDB">
              <td>
              <table height="600" border="0" cellspacing="0" cellpadding="0" width="200%" align="left">
                <tr>
                  <td valign="top" height="100%" bgcolor="#DCDCDC">
                  <?php
                  require('menu2.php');
                  ?>
	  </td>
                </tr>
                <tr>
                  <td background="_wizardimages/1/fon_bot.gif" height="20">
                  <img src="_wizardimages/1/px1.gif" alt border="0" width="1" height="1"></td>
                </tr>
              </table>
              </td>
            </tr>
            <tr>
              <td align="right">
              <img src="_wizardimages/1/sh01.jpg" alt border="0" width="169" height="7"></td>
            </tr>
          </table>
          </td>
          <td width="55%"> </td>
        </tr>
      </table>
<!--
menu
-->

<!--
main
-->
<td width="55%">
<table border="0" cellspacing="0" cellpadding="1" align="center">
<tr bgcolor="#777777">
<td><p class="title01"><img src="_wizardimages/1/e01.gif" width="7" height="7" alt="" border="0"> </p></td>
</tr>
<tr bgcolor="#DADBDB">
<td>
<table border="0" cellspacing="0" cellpadding="0" width="400" align="center">
<tr>
<td height="3" bgcolor="#FF6600"><img src="_wizardimages/1/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><p class="px5">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table border="0" cellspacing="0" cellpadding="0" width="70%">
<tr>
<td align="right">

<table border="0" cellspacing="0" cellpadding="0" background="_wizardimages/1/be_fon.gif">
<tr>
<td><img src="_wizardimages/1/be_left.gif" width="7" height="33" alt="" border="0"></td>
<td><p class="title02">                               </p></td>
<td><img src="_wizardimages/1/be_right.gif" width="7" height="33" alt="" border="0"></td>
</tr>
</table>
</td>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0" background="_wizardimages/1/be_fon.gif">
<tr>
<td><img src="_wizardimages/1/be_left.gif" width="7" height="33" alt="" border="0"></td>
<td><p class="title02">              </p></td>
<td><img src="_wizardimages/1/be_right.gif" width="7" height="33" alt="" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
<p class="px5">
</td>
</tr>
<tr>
<td height="20" background="_wizardimages/1/fon_bot.gif"><img src="_wizardimages/1/px1.gif" width="1" height="1" alt="" border="0"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right"><img src="_wizardimages/1/sh01.jpg" width="169" height="7" alt="" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
<!--
main
-->
      <p><br>
      </p>
      <p class="menu">  </td>
      <td valign="bottom" background="_wizardimages/1/bg_right.gif">
      <img src="_wizardimages/1/bg_right.gif" alt border="0" width="17" height="16"></td>
      <td width="50%" background="_wizardimages/1/bg.gif" valign="top">
      <img src="_wizardimages/1/px1.gif" alt border="0" width="1" height="1"></td>
    </tr>
  </table>
</div>
<div Id="text0" name="text0" style="position:absolute;left:19;top:86;width:800;height:18;z-index:4000;background-color:transparent;margin:1px">
  <?php require('menu.php');?>
</div>
<div Id="text1" name="text1" style="position:absolute;left:68;top:350;width:200;height:18;z-index:4001;background-color:transparent;margin:1px">
  <font face="arial" size="2">Main Menu</font>
</div>
<div Id="text2" name="text2" style="position:absolute;left:687;top:86;width:200;height:18;z-index:4002;background-color:transparent;margin:1px">
</div>
<div Id="text3" name="text3" style="position:absolute;left:295;top:155;width:200;height:53;z-index:4003;background-color:transparent;margin:1px">
  <font face="arial" size="2">Image Poseidon</font><p>
  <font face="Arial" size="2">Your style is our command</font></div>

 

the code to look for is under:

 

<!--
main
-->

Link to comment
Share on other sites

Not clear on where you want what. But you just need to modify the code to get it go.

 

<div Id="text3" name="text3" style="position:absolute; left:500; top:205;width:200;height:53;z-index:4003;background-color:transparent;margin:1px">

 

May I suggest a separate CSS file.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.