Forum Moderators: phranque

Message Too Old, No Replies

Text on sides of table?

How to add text on sides of table

         

dolfantimmy

3:08 am on Nov 8, 2006 (gmt 0)

10+ Year Member



I am fairly new to actually developing sites, though I have been hosting various "pre-developed" sites for years. Anyway, one thing is driving me nuts. I find very nice "templates" to start with when creating my pages. But, I often run in to this same issue. The page is simply a table, centered, with various text of different sizes in the single columned table.

I'd like to add menu items, or perhaps adsense to the left and right of the table. But, be it in dreamweaver or golive, when I try to enter text to the left side of the table, it gets inserted above. When I try to enter the text on the right it gets stuck on the bottom. How do I insert code to the sides of a table?

jonrichd

2:40 pm on Nov 9, 2006 (gmt 0)

10+ Year Member



Probably the easiest way to do that would be to put your template table inside the center cell of a new parent table that would have three columns. You would then put your other content in the first cell (for left), or the third one (for right).

e.g.

<table> ->> this is the new parent table
<tr>
<td> Content for lefthand column </td>
<td>
<table> ->> this is the table that your originally had </table>
</td>
<td> Content for righthand column </td>
</tr>
</table>