tables and include files

  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Aug 07, 2005
  • Posts: 294
  • Status: Offline

Post November 25th, 2007, 2:23 am

i have a site that im building that has include files for some reaso this is leaving a space on my page... the space is causing my page to my page to be divided with space between the nav bar (top half) and the featured homes (bottom half)....can anyone help i will include script and link to page: http://www.getflap.com/getflap2/index2.php



Code: [ Select ]
<html>
<head>
<title>index2</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (index2.psd) -->
<table id="Table_01" width="775" height="716" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td rowspan="6">&nbsp;</td>
        <td><img src="images/logo.jpg" width="212" height="99"></td>
        <td><img src="images/index.jpg" width="284" height="99"></td>
        <td colspan="3" valign="bottom"><p>
         <?php include('TtopNav.php'); ?>
      </td>
 <td rowspan="6">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="5">
            <img src="images/topLine.jpg" width="725" height="10" alt=""></td>
    </tr>
    <tr>
        <td height="234" colspan="4" valign="top">
            <img src="includePages/images/index2_07.png" width="550" height="234" alt=""></td>
        <td rowspan="4" valign="top"><p>
         <?php include('Tsearch.php'); ?>
<?php include('Ttestimonials.php'); ?>
</td>
 </tr>
    <tr>
        <td colspan="4"><?php include('TnavBar.php'); ?></td>
    </tr>
    <tr>
        <td colspan="3" rowspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td valign="top"><?php include('TfeaturedProperties.php'); ?></td>
      <td valign="top"><p>
       <?php include('ThomeBody.php'); ?>      </td>
     </tr>
    </table></td>
        <td>
            <img src="includePages/images/navBar-12.png" width="1" height="1" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="includePages/images/index2_12.png" width="1" height="295" alt=""></td>
    </tr>
    <tr>
        <td colspan="7"><?php include('TfooterNav.php'); ?></td>
    </tr>
    <tr>
        <td>
            <img src="includePages/images/spacer.gif" width="25" height="1" alt=""></td>
        <td>
            <img src="includePages/images/spacer.gif" width="212" height="1" alt=""></td>
        <td>
            <img src="includePages/images/spacer.gif" width="284" height="1" alt=""></td>
        <td>
            <img src="includePages/images/spacer.gif" width="53" height="1" alt=""></td>
        <td>
            <img src="includePages/images/spacer.gif" width="1" height="1" alt=""></td>
        <td>
            <img src="includePages/images/spacer.gif" width="175" height="1" alt=""></td>
        <td>
            <img src="includePages/images/spacer.gif" width="25" height="1" alt=""></td>
    </tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>
  1. <html>
  2. <head>
  3. <title>index2</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </head>
  6. <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  7. <!-- ImageReady Slices (index2.psd) -->
  8. <table id="Table_01" width="775" height="716" border="0" cellpadding="0" cellspacing="0">
  9.     <tr>
  10.         <td rowspan="6">&nbsp;</td>
  11.         <td><img src="images/logo.jpg" width="212" height="99"></td>
  12.         <td><img src="images/index.jpg" width="284" height="99"></td>
  13.         <td colspan="3" valign="bottom"><p>
  14.          <?php include('TtopNav.php'); ?>
  15.       </td>
  16.  <td rowspan="6">&nbsp;</td>
  17.     </tr>
  18.     <tr>
  19.         <td colspan="5">
  20.             <img src="images/topLine.jpg" width="725" height="10" alt=""></td>
  21.     </tr>
  22.     <tr>
  23.         <td height="234" colspan="4" valign="top">
  24.             <img src="includePages/images/index2_07.png" width="550" height="234" alt=""></td>
  25.         <td rowspan="4" valign="top"><p>
  26.          <?php include('Tsearch.php'); ?>
  27. <?php include('Ttestimonials.php'); ?>
  28. </td>
  29.  </tr>
  30.     <tr>
  31.         <td colspan="4"><?php include('TnavBar.php'); ?></td>
  32.     </tr>
  33.     <tr>
  34.         <td colspan="3" rowspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  35.      <tr>
  36.       <td valign="top"><?php include('TfeaturedProperties.php'); ?></td>
  37.       <td valign="top"><p>
  38.        <?php include('ThomeBody.php'); ?>      </td>
  39.      </tr>
  40.     </table></td>
  41.         <td>
  42.             <img src="includePages/images/navBar-12.png" width="1" height="1" alt=""></td>
  43.     </tr>
  44.     <tr>
  45.         <td>
  46.             <img src="includePages/images/index2_12.png" width="1" height="295" alt=""></td>
  47.     </tr>
  48.     <tr>
  49.         <td colspan="7"><?php include('TfooterNav.php'); ?></td>
  50.     </tr>
  51.     <tr>
  52.         <td>
  53.             <img src="includePages/images/spacer.gif" width="25" height="1" alt=""></td>
  54.         <td>
  55.             <img src="includePages/images/spacer.gif" width="212" height="1" alt=""></td>
  56.         <td>
  57.             <img src="includePages/images/spacer.gif" width="284" height="1" alt=""></td>
  58.         <td>
  59.             <img src="includePages/images/spacer.gif" width="53" height="1" alt=""></td>
  60.         <td>
  61.             <img src="includePages/images/spacer.gif" width="1" height="1" alt=""></td>
  62.         <td>
  63.             <img src="includePages/images/spacer.gif" width="175" height="1" alt=""></td>
  64.         <td>
  65.             <img src="includePages/images/spacer.gif" width="25" height="1" alt=""></td>
  66.     </tr>
  67. </table>
  68. <!-- End ImageReady Slices -->
  69. </body>
  70. </html>
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 25th, 2007, 2:23 am

  • Benat
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Jul 19, 2004
  • Posts: 2123
  • Status: Offline

Post November 25th, 2007, 5:02 am

The page loads EXTREMELY slow and my connection is pretty good.

The space on the page looks to be caused by the submit button thats stuck in between the header and content part.

Also, your source code is majorly confusing.. I've never seen anything like it. :shock:
JOIN OZZU'S FACEBOOK GROUP!
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Aug 07, 2005
  • Posts: 294
  • Status: Offline

Post November 25th, 2007, 9:56 am

no not button causing it thats just there for testing...
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post November 26th, 2007, 1:34 am

Firstly, I would suggest moving away from tables asap ... I can't see the issue (viewed in IE7 and FF2) ... all that I can see, is that the image (index2_07.png) is missing ...
Let's leave all our *plum* where it is and go live in the jungle ...
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Aug 07, 2005
  • Posts: 294
  • Status: Offline

Post November 26th, 2007, 2:53 am

u cant see the big gap between the featured box and the navbar .....................so u suggest that i use layers
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post November 26th, 2007, 3:15 am

I don't see a gap ... which browser are you using?
And no, I didn't say anything about layers ... I said you should stop using table based layouts ... and rather switch to using CSS for your layout and putting the content in DIV's ...
Let's leave all our *plum* where it is and go live in the jungle ...
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Aug 07, 2005
  • Posts: 294
  • Status: Offline

Post November 26th, 2007, 3:23 am

ok ill take out the submit button and you will see th gap in the middle of the page, was going to learn that but that takes to much time right...
http://www.getflap.com/getflap2/index2.php
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Aug 07, 2005
  • Posts: 294
  • Status: Offline

Post November 26th, 2007, 3:24 am

oh its seen in firefox and IE
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post November 26th, 2007, 3:39 am

I can't see what you're talking about ... Again, I'm looking at the page in IE7 and FF2 and they look exactly the same ... with some images missing ...
Let's leave all our *plum* where it is and go live in the jungle ...
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post November 26th, 2007, 3:39 am

I can't see what you're talking about ... Again, I'm looking at the page in IE7 and FF2 and they look exactly the same ... with some images missing ...
Let's leave all our *plum* where it is and go live in the jungle ...
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Aug 07, 2005
  • Posts: 294
  • Status: Offline

Post November 26th, 2007, 3:52 am

if u look in the middle of the page bellow the navigation bar and above the welcome that white open space is not supposed to be there...the there should be no split in the page
  • Suikolove
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Nov 26, 2007
  • Posts: 9
  • Status: Offline

Post November 26th, 2007, 8:22 pm

I hope you're not designing sites for money. If you are, then you need to stop. Right now, and take a break until you become intermediate with CSS and Divs.
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Aug 07, 2005
  • Posts: 294
  • Status: Offline

Post November 26th, 2007, 10:52 pm

ok thanks for that input and vote of confidence....but anyway can u help...
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post November 26th, 2007, 11:35 pm

How about this: firstly fix your 51 validation errors and add a DOCTYPE, because your code is pretty screwed up ... That should help you already ... and us ... for a DOCTYPE, if I were you, I would use HTML 4.0 transitional ... it's the easiest to start off with ...
Let's leave all our *plum* where it is and go live in the jungle ...
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Aug 07, 2005
  • Posts: 294
  • Status: Offline

Post November 27th, 2007, 12:55 am

ok can anyone help me with this problem, i just wanted to know y this was happening i am currently learning css i do development work my webdesigner is out for awhile so i thought i could learn this im old school when it comes to webdesign im sorry but please dont talk bad to me ok thanks now can i please get some help or what...thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 27th, 2007, 12:55 am

Post Information

  • Total Posts in this topic: 46 posts
  • Users browsing this forum: No registered users and 98 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.