Using a table in content, encyclopedia, ect...

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Using a table in content, encyclopedia, ect...
kwgray
CZ Newbie
kwgray has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Sewer and Drain Cleaning Services
Age: 62
Gender: Male
Website:
Status: Offline
Joined: Mar 19, 2004
0.00 posts per day
Posts: 20
Points: 16,648
   
When ever I try to use a table in an article, encyclopedia term, or other areas, the page presentation is a bit off.

Example : [ Register or login to view links on this board. ]

I have tried bb code in areas that accept it, and tried enclosing the table in a div (hoping it will seperate the table from the php generated code).

Here is the code used to create the table, div version.

<div align="center">
<table border="1">
<caption>Chart of Materials</caption>
<tr bgcolor="black">
<td valign="top" align="center"><font color="white">Material</font></td>
<td valign="top" align="center"><font color="white">Color / Grade</font></td>
<td valign="top" align="center"><font color="white">Sizes / Lengths</font></td>
<td valign="top" align="center"><font color="white">Joinging Techniques</font></td>
<td valign="top" align="center"><font color="white">Uses</font></td>
<td valign="top" align="center"><font color="white">Advantages</font></td>
<td valign="top" align="center"><font color="white">Disadvantages</font></td>
</tr>
<tr>
<td valign="top">Cast Iron with Hub</td>
<td valign="top">Grey-Black / SV & XH</td>
<td valign="top">2" through 15" / 5' and 10'</td>
<td valign="top">Lead & Oakum, Compression</td>
<td valign="top">DWV</td>
<td valign="top">Long lasting, quite fewer supports</td>
<td valign="top">Heavy, Labor Intensive, Requires wider walls</td>
</tr>
<tr>
<td valign="top">Cast Iron No Hub</td>
<td valign="top">Grey-Black / SV & XH</td>
<td valign="top">2" through 15" / 10'</td>
<td valign="top">No-Hub Bands</td>
<td valign="top">DWV</td>
<td valign="top">Long lasting, quite fewer supports</td>
<td valign="top">Heavy, More expensive than plastic</td>
</tr>
</table>
</div>

Any suggestions on how to add tables to nuke pages would be helpful.


Back to top Reply with quote
#2   re: Using a table in content, encyclopedia, ect...
DaveTomneyUK
CZ Active Member
uk.gif
Occupation: PC Technician
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 23, 2003
0.03 posts per day
Posts: 201
Points: 23,202
AIM Address Yahoo Messenger  
I've looked and it works fine for me but I run in resolution 1024 X 768, Did you try making your tables width = 100%. Even if I make my browser small it looks fine.



Back to top Reply with quote
#3   re: Using a table in content, encyclopedia, ect...
kwgray
CZ Newbie
kwgray has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Sewer and Drain Cleaning Services
Age: 62
Gender: Male
Website:
Status: Offline
Joined: Mar 19, 2004
0.00 posts per day
Posts: 20
Points: 16,648
   
Thanks for taking a look. Maybe it is just my browser then, IE 6.0

I see the description, a black box, and then scroll down to the table. If I do not insert the table into a div, the page is really funky.

Works as it is, just hoping for a bit more control on the layout icon_wink.gif



Back to top Reply with quote
#4   re: Using a table in content, encyclopedia, ect...
DaveTomneyUK
CZ Active Member
uk.gif
Occupation: PC Technician
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 23, 2003
0.03 posts per day
Posts: 201
Points: 23,202
AIM Address Yahoo Messenger  
Do you mean the black box as I see that is the only thing that looks weird as it as nothing in it no contents and its miss placed under "Any pipe made from cast iron. The rotational casting process is used." With nothing in it.



Back to top Reply with quote
#5   re: Using a table in content, encyclopedia, ect...
kwgray
CZ Newbie
kwgray has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Sewer and Drain Cleaning Services
Age: 62
Gender: Male
Website:
Status: Offline
Joined: Mar 19, 2004
0.00 posts per day
Posts: 20
Points: 16,648
   
Exactly, and the table is shown several lines below the empty black box



Back to top Reply with quote
#6   re: Using a table in content, encyclopedia, ect...
DaveTomneyUK
CZ Active Member
uk.gif
Occupation: PC Technician
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 23, 2003
0.03 posts per day
Posts: 201
Points: 23,202
AIM Address Yahoo Messenger  
Thats easy to fix all you need do is take out this code

<div align="center"><br />


then looks for this

<table border="1" width="100%"><br />


and try adding

valign="top"



Back to top Reply with quote
#7   re: Using a table in content, encyclopedia, ect...
kwgray
CZ Newbie
kwgray has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Sewer and Drain Cleaning Services
Age: 62
Gender: Male
Website:
Status: Offline
Joined: Mar 19, 2004
0.00 posts per day
Posts: 20
Points: 16,648
   
Removing div block made no changes. Tried removing table and just tr and td, since a table is already created (boy that messed things up icon_wink.gif )

Added valign to table, after reinserting the table tag. Hmm, all still looks the same. Strange, looking at the source, I do not see where the empty tr and td is popping in from.



Back to top Reply with quote
#8   re: Using a table in content, encyclopedia, ect...
DaveTomneyUK
CZ Active Member
uk.gif
Occupation: PC Technician
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 23, 2003
0.03 posts per day
Posts: 201
Points: 23,202
AIM Address Yahoo Messenger  
Dont know then there is only one last thing I can think of thats look to see if your table as height= 100% and make it less like 200 or 600 but valign should work.



Back to top Reply with quote
#9   re: Using a table in content, encyclopedia, ect...
kwgray
CZ Newbie
kwgray has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Sewer and Drain Cleaning Services
Age: 62
Gender: Male
Website:
Status: Offline
Joined: Mar 19, 2004
0.00 posts per day
Posts: 20
Points: 16,648
   
Thank you for the time you have spent trying to help me out. No height is declared for the table. Table height is automatically generated by the content held in a table. Adding a restrictive height could mess things up for low resolution viewers.

I will tear into the view source to see what is creating the empty box.

Thanks again,
Ken



Back to top Reply with quote
#10   re: Using a table in content, encyclopedia, ect...
DaveTomneyUK
CZ Active Member
uk.gif
Occupation: PC Technician
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 23, 2003
0.03 posts per day
Posts: 201
Points: 23,202
AIM Address Yahoo Messenger  
If I can figure out why its doing it i'll post here tomorrow.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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
You cannot attach files in this forum
You cannot download files in this forum