Vectorials
Flash Perfection
3D Lessons
Tutorialkit
Markup Tutorials
Learn PHP
network
adv banner
HTML and CSS  Home HTML and CSS Tutorials Tricks using Tables
rss

Tricks using Tables

Author: Jeff Singer More by this author
Browse Pages:  1  2  3  4  5 > >>


Table"I need to have two tables sit side by side, but no matter what I do, they end up stacked. What gives?"

Example

A table must sit alone on a "line", but if we stick our tables inside of a table... guess what? It works! This is also very useful for when you have two pictures, each with a caption under it. In this example, I have BORDER=1 so you can see what is going on.

Source
Result
<TABLE BORDER="1" WIDTH="400">
  <TR>
   <TD>
    <TABLE BORDER="1">
     <TR>
      <TD>
       This is in our first table!
      </TD>
     </TR>
    </TABLE>
   </TD>
   <TD>
    <TABLE BORDER="1">
     <TR>
      <TD>
       And this is in the second table!
      </TD>
     </TR>
    </TABLE>
   </TD>
  </TR>
</TABLE>
This is in our
first table!
And this is in
the second table!

See Also:



print this page tell a friend subscribe to newsletter subscribe to rss
Rate this Material: Bad 1 2 3 4 5 Excellent
Browse Pages:  1  2  3  4  5 > >>

Add comments to "Tricks using Tables"