Jump to content

Table, 3 columns


Recommended Posts

Do you want to split the page by using frames or table??The code for the table is below

<html><head><title> Page title</title></head><body><table width="75%" align="center" border="1"><tr><td width="100%" colspan="3">  This is the heading or the top Row <br><br></td></tr><tr><td width="20%"> The left Column<br><br><br><br><br></td><td width="60%"> The center Column</td><td width="20%"> The right Column </td></tr></table></body></html>

You can specify the height of table. But if you use the CSS the code can be reduced.

Link to post
Share on other sites

make sure you add you "valign" attribute so your left and right columns don't default to the middle when you content grows:

<table width="750" border="1" align="center"><tr><td colspan="3">This is the heading or the top Row <br><br></td></tr><tr><td width="150" valign="top">The left Column<br><br><br><br><br></td><td width="450" valign="top">The center Column<br></td><td width="150" valign="top">The right Column<br></td></tr></table>

Always more than one way to skin a cat.:)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...