Link to home
Start Free TrialLog in
Avatar of amoran
amoran

asked on

align a table within a table

hi

say i want to align a small table within a large table and then have text around it like this

[ [xxx] xxxxx ]
[ [xxx] xxxxx ]
[ [xxx] xxxxx ]
[ [xxx] xxxxx ]
[ xxxxxxxxxxx ]
[ xxxxxxxxxxx ]
[ xxxxxxxxxxx ]
[ xxxxxxxxxxx ]
[ xxxxxxxxxxx ]

thanks
Avatar of elhy
elhy

create a table with 2 colums and 2 rows. merge r2, c1 with c2. add your table to r1 c1 then set the cell alignment to whatever u want.
using <pre> u can do this
ASKER CERTIFIED SOLUTION
Avatar of hexagon47
hexagon47

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try this:


<table border="1">
 <tr>
  <td width=500 valign=top >
  <table border="1" align=left>
   <tr>
    <td>
      Here comes text of the inner table
    </td>
   </tr>
  </table>
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  x x x x x x x x
  </td>
 </tr>
</table>
is this what ur looking 4?

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>YOUR TEXT</td>
    <td>YOUR TEXT</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</td>
    <td>YOUR TEXT HERE</td>
  </tr>
  <tr>
    <td>YOUR TEXT</td>
    <td>YOUR TEXT</td>
  </tr>
</table>
checkout this web-site.in my opinion it is one of the best sites available on html.  http://24hourhtmlcafe.com/hour14/index.htm
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

<note>
Unless it is clear to me that the question has been answered I will recommend delete.  It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>

If the user does not know how to close the question, the options are here:
https://www.experts-exchange.com/help/closing.jsp


Cd&

It is time to clean this abandoned question up.

I am putting it on a clean up list for CS.

<recommendation>
points to hexagon47 -- grade B

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&