HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
noob help
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
jenniferesme



Joined: 02 Apr 2005
Posts: 4

PostPosted: Sat Apr 02, 2005 11:12 am     noob help Reply with quote

Question Hi . I'm a newbie. I tried the table tutor, but I'm doing something wrong at least I tried!
I am making a table that is 500 pix wide with two columns and three rows. I am noob and am having some trouble. I am trying to split the second row into a 300 px wide column and then a 200 px wide column. I am having the worst time getting it in order! I tried the table tutor, but I'm doing something wrong.
Thanks
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Sat Apr 02, 2005 12:37 pm     Reply with quote

You need to use the colspan attribute to span across columns or merge cells

Code:

<table width="500" border="1" cellspacing="0" cellpadding="5">
  <tr>
    <td colspan="2">Single Row </td>
  </tr>
  <tr>
    <td width="300">300px cell </td>
    <td>200px cell </td>
  </tr>
  <tr>
    <td colspan="2">Single Row </td>
  </tr>
</table>
jenniferesme



Joined: 02 Apr 2005
Posts: 4

PostPosted: Sat Apr 02, 2005 2:35 pm     Just thank you Reply with quote

Very Happy
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial