Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> HTML
Author Message
helsnicht
Hangin' Around



Joined: Jan 25, 2008
Posts: 44

PostPosted: Thu Oct 02, 2008 7:13 pm Reply with quote

How do I make a nested table take on the same height as its parent table? I'm referring to the table with "test1" in it.

Code:
<table border="0" cellspacing="0" cellpadding="0" width="100%">

   <tr>
      <td bgcolor="#000000">
<table width="100%" border="0" cellspacing="2" cellpadding="0">
   <tr>
      <td bgcolor="#404040">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td bgcolor="#000000" rowspan="2">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td bgcolor="#FF0000">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
   <tr>
      <td>test1</td>
    </tr>
</table>
        </td>
    </tr>
</table>
      </td>
<!-- -->       
      <td bgcolor="#000000">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td bgcolor="#FF0000">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
   <tr>
      <td>test2</td>
    </tr>
</table>
        </td>
    </tr>
</table>
      </td>
    </tr>
<!-- -->
    <tr>
       <td bgcolor="#000000">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td bgcolor="#FF0000">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
   <tr>
      <td>test3</td>
    </tr>
</table>
        </td>
    </tr>
</table>
      </td>
    </tr>
<!-- -->
    <tr>
       <td bgcolor="#000000" colspan="2">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td bgcolor="#FF0000">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
   <tr>
      <td>test4</td>
    </tr>
</table>
        </td>
    </tr>
</table>
      </td>
    </tr>
<!-- -->
</table>
        </td>
    </tr>
</table>
        </td>
    </tr>
</table>


^^^ My rats nest of tables =)
 
View user's profile Send private message Visit poster's website
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Oct 02, 2008 7:35 pm Reply with quote

You would use height="100%"

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Dawg
RavenNuke(tm) Development Team



Joined: Nov 07, 2003
Posts: 928

PostPosted: Thu Oct 02, 2008 7:37 pm Reply with quote

....insert a blank image X height.....?

Dawg
 
View user's profile Send private message
helsnicht







PostPosted: Thu Oct 02, 2008 8:43 pm Reply with quote

I wasn't adding it to enough tables =P thanks evaders.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> HTML

View next topic
View previous topic
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©