Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 1st, 2005, 4:03 AM   #1
scorpiosage
Programmer
 
scorpiosage's Avatar
 
Join Date: Aug 2004
Location: Austin, Tx
Posts: 55
Rep Power: 5 scorpiosage is on a distinguished road
Send a message via AIM to scorpiosage Send a message via Yahoo to scorpiosage
Tables anyone, goodness I am feeling so dumb right now.

Hey guys.
This is so wierd, I have done websites before, over and over again, and I can't figure out why the heck this one isn't doing what I want it to do.

Here's the deal. I saw someone do this in another post so, I am going to sort of diagram it for you here.

I need it to look like this

111111111111111111111111111111100000000
111111111111111111111111111111100000000
111111111111111111111111111111100000000
222222223333333333333333333333300000000
222222223333333333333333333333300000000
222222223333333333333333333333300000000
222222223333333333333333333333300000000
444444444444444444444444444444400000000

Ok, so this is what it
0 is blank space off to the right
1 is sort of our branding flash images that are randomly generated and our company name
2 is a navbar
3 is the content
4 is sort of a bottom image

What is actually happening though, with the code I am going to post is that the bottom image somehow, keeps ending up to the right of my navbar and into my empty space.
<table width=800 rows=6 cellpadding=0 cellspacing=0 border="0">
<tr>
<td align=left>
<? echo $titlebar; ?>
</td></tr>
<tr>
<td align=right>
<? echo $titlenumber; ?>
</td></tr>
<tr><td valign=top>
<? echo $showflash; ?>
</td></tr>
<tr><td background="http://www.prideofaustin.com/pageimages/menu_back.jpg" align=right>
<? echo $gbar; ?>
</td></tr>
<table cellpadding=0 cellspacing=0 border="0" width=150 align=left class="sidebar">
<? echo $nav; ?>
</table>
<tr><td valign=bottom align=left><? echo $bottombar; ?></td></tr>
</table>

This is the whole table set up. I am using php includes here because later I have to reproduce this site with different content because the company is expanding to another town and wants a town specific website.
I have tried several different solutions here, but can't seem to figure it out.

Thanks in advance
Mike
__________________
Here's my latest project still in the works, and I need to get rid of this &quot;frame&quot; situation for real. www.prideofaustin.com
scorpiosage is offline   Reply With Quote
Old Feb 1st, 2005, 5:24 AM   #2
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
This should work... I ommitted some of your code because i didn't have enough information to know how it should be implemented. If you have any more questions, feel free to post them.

<table width="800" cellpadding="0" cellspacing="0" border="0">
  <!-- I have no idea what the hell these do //-->
  <!--
  <tr>
    <td align=left>
      <?php echo $titlebar; ?>
    </td>
  </tr>
  <tr>
    <td align=right>
      <? echo $titlenumber; ?>
    </td>
  </tr>
  //-->
  <tr>
    <td valign="top">
      <?php echo $showflash; ?>
    </td>
  </tr>
  <tr>
    <td background="http://www.prideofaustin.com/pageimages/menu_back.jpg"
        align="right">
      <!-- If you want a defined height for this row,
           define it in this table. //-->
      <table cellpadding="0" cellspacing="0" border="0"
             width="150" align="left" class="sidebar">
        <tr>
          <td>
            <? echo $nav; ?>
          </td>
        </tr>
      </table>
      <? echo $gbar; ?>
    </td>
  </tr>
  <tr>
    <td valign=bottom align=left>
      <?php echo $bottombar; ?>
    </td>
  </tr>
</table>
__________________

tempest is offline   Reply With Quote
Old Feb 1st, 2005, 6:21 AM   #3
scorpiosage
Programmer
 
scorpiosage's Avatar
 
Join Date: Aug 2004
Location: Austin, Tx
Posts: 55
Rep Power: 5 scorpiosage is on a distinguished road
Send a message via AIM to scorpiosage Send a message via Yahoo to scorpiosage
Tempest, that was it, kind of.
It got me started in the right direction, but, I am still having problems.

I had to modify it a little bit in order to make it visually appear right, by moving a bit of your code. But, now, a new problem comes up.

I have no clue why I am not understanding these tables, yikes.

OK, the navbar is a table at the left side of the big table, but, this table needs to streatch down to the bottom of the page here, so that the content doesn't wrap around the left table?
here is the code as I have fixed it, and it is located at
htpp://www.prideofaustin.com/test.php

<table width="800" cellpadding="0" cellspacing="0" border="0">
  
  <tr>
    <td align=left>
      <?php echo $titlebar; ?>
    </td>
  </tr>
  <tr>
    <td width=800 align=right>
      <? echo $titlenumber; ?>
    </td>
  </tr>
  
  <tr>
    <td valign="top">
      <?php echo $showflash; ?>
    </td>
  </tr>
  <tr>
    <td width="800" background="http://www.prideofaustin.com/pageimages/menu_back.jpg"
        align=right>
       <? echo $gbar; ?></td></tr>
       <tr>
       <td>
      <table cellpadding="0" cellspacing="0" border="0"
             width="150" align="left" class="sidebar">
        <tr>
            <? echo $nav; ?>
          </td>
        </tr>
      </table>
    Testing the text to go into the center of the page here. I hope this works out the way that it should
    
    </td>
  </tr>
  <tr>
    <td valign=bottom align=left>
      <?php echo $bottombar; ?>
    </td>
  </tr>
</table>
Thanks for you help again
Mike
__________________
Here's my latest project still in the works, and I need to get rid of this &quot;frame&quot; situation for real. www.prideofaustin.com
scorpiosage is offline   Reply With Quote
Old Feb 1st, 2005, 6:40 AM   #4
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
<table width="800" cellpadding="0" cellspacing="0" border="0">
  
  <tr>
    <td align=left>
      <?php echo $titlebar; ?>
    </td>
  </tr>
  <tr>
    <td width=800 align=right>
      <? echo $titlenumber; ?>
    </td>
  </tr>
  
  <tr>
    <td valign="top">
      <?php echo $showflash; ?>
    </td>
  </tr>
  <tr>
    <td width="800" background="http://www.prideofaustin.com/pageimages/menu_back.jpg"
        align=right>
       <? echo $gbar; ?></td></tr>
       <tr>
       <td width="150">
      <table cellpadding="0" cellspacing="0" border="0"
             width="100%" align="left" class="sidebar">
        <tr><td>
            <? echo $nav; ?>
          </td>
        </tr>
      </table>
      </td>
       <td>
    Testing the text to go into the center of the page here. I hope this works out the way that it should
    </td>
  </tr>
  <tr>
    <td valign=bottom align=left>
      <?php echo $bottombar; ?>
    </td>
  </tr>
</table>
__________________

tempest is offline   Reply With Quote
Old Feb 1st, 2005, 7:47 AM   #5
scorpiosage
Programmer
 
scorpiosage's Avatar
 
Join Date: Aug 2004
Location: Austin, Tx
Posts: 55
Rep Power: 5 scorpiosage is on a distinguished road
Send a message via AIM to scorpiosage Send a message via Yahoo to scorpiosage
Thank you thank you thank you...
You don't believe how much of a lifesaver this information was. I spent, litteraly 1 and a half days trying to figure out what was going on with this thing. I thought this project was done until I tested it on different computers with bigger monitors, and found out what was happening.
Thanks a million and one times.
Mike
__________________
Here's my latest project still in the works, and I need to get rid of this &quot;frame&quot; situation for real. www.prideofaustin.com
scorpiosage is offline   Reply With Quote
Old Feb 1st, 2005, 8:50 AM   #6
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
No problem. Glad i could help.
__________________

tempest is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:39 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC