![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
|
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 "frame" situation for real. www.prideofaustin.com |
|
|
|
|
|
#2 |
|
Programming Guru
![]() |
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>
__________________
|
|
|
|
|
|
#3 |
|
Programmer
|
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>Mike
__________________
Here's my latest project still in the works, and I need to get rid of this "frame" situation for real. www.prideofaustin.com |
|
|
|
|
|
#4 |
|
Programming Guru
![]() |
<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>
__________________
|
|
|
|
|
|
#5 |
|
Programmer
|
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 "frame" situation for real. www.prideofaustin.com |
|
|
|
|
|
#6 |
|
Programming Guru
![]() |
No problem. Glad i could help.
__________________
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|