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!
table inside table and colspans?
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
steve



Joined: 20 May 2004
Posts: 1
Location: Texas

PostPosted: Sun May 23, 2004 10:02 am     table inside table and colspans? Reply with quote

Question Question Question Question
first timer; the 4 images that are supposed to surround the inner table won't come in right. the top and left images come in correctly, but the right image falls below and to the left, with the bottom below the "right" image.

<table [no spaces] width="535" height="844" align="center">
<br><br><br>
<th [no spaces] colspan="3" width="535"></th><img "top" [535x180]>
<tr>
<td colspan="1" width="40" align="left"></td> <img "left" [40X625]>
<td colspan="1" width="455"></td> [spacer]
<td colspan="1" width="40" align="right"></td> <img "right" [40X625]>
</tr>
<tr>
<td>
<table...blah blah blah

Question Question Question Question
tried same thing without a header, same results...anybody shed me some light?.
mjpliv



Joined: 11 May 2004
Posts: 406
Location: Nova Scotia

PostPosted: Mon May 24, 2004 5:02 am     Reply with quote

It would help if you left in all the code or perhaps even give us the URL for the page if it is live somewhere.

What are the contents of the table header tag?

Is the table header part of the table? If so, you are missing the table row tag if you want it to appear at the top of the table and the image tag would require a table data tag to appear within that table row.

With colspan=3 in the table header tag and another table data tag for the image, this would be a total of 4 columns. Is this what you had in mind?

You do not have to encase all of the tag modifier values with double quotes.

colpan=40 instead of calspan="40"
align=center instead of align="center"
Generally, only those values that require processing have to be encased in double quotes (ie width="50%")


colspan=1 is not required as a single column is the default

Try setting your cellpadding to 0 in the table tag or reducing image widths by a few pixels to give yourself some breathing room unless you need a seamless joint.

Have a look through http://www.htmlcodetutorial.com/ for more detailed information on working with tables.
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
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

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