Jump to content

Align Column to center?


morrisjohnny

Recommended Posts

Hi.I've created a table and i can get the table to work fine, the problem is, i want cells 2 to be aligned fomr the center so as i type the cell "expands" and is spread evenly while cells 1 are always on the left of the page. If anyboddy can help i'd be really greatful.(I've only started to learn HMTL during the last few days so i'm very new)(FIRST POST woop)

Link to comment
Share on other sites

Sorry whts that? don't surposse u could explain a bit more? maybe type some sort of code out?

I'm not entiry sure if this is what you asked for but have a look.Basically i've created a table and split it into 2 columns, then within each column i have added another table, this is called nesting.
<body><table width="100%" height="100%" border="0"><tr><td width="25%" valign="top" align="middle">  Column1  <table width="100%" height="90%" border="1" cellpadding="0" cellspacing="0">   <tr>    <td>     </td>   </tr>  </table></td><td width="75%" valign="top" align="middle">  Column2  <table border="1" cellpadding="0" cellspacing="0">   <tr>    <td>text text text text text text text text text text text     </td>   </tr>  </table>   </td></tr></table></body>

Link to comment
Share on other sites

Thanks but thts what i was trying to do, Thanks for the help anyways

<table><tr>  <td><b>Navigation</b></td>  <td h align="center"><b>News</b></td></tr><tr>  <td><a href="http://z13.invsionfree.com/dirt_devils/">Visit My Forums</a></td>  <td h align="center">Coming Soon</td></tr><tr>  <td><a href="http://fastb01.googlepages.com">Visit My old website</a></td>  <td h align="center">Coming Soon</td></tr></table><table border="0" width="100%" cellpadding="5"><tr><td width="25%" valign="top"><b>Navigation</b><br><a href="http://fastb01.googlepages.com">Visit My old website</a></td></td><td width="75%" align="center" valign="top"><b>News</b><br>Another text. Another text. Another text. Another text. Another text. Another text. Another text.Another text.Another text.Another text.Another text.</td>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...