01-16-2004, 10:04 AM | #1 (permalink) |
Apocalypse Nerd
|
inserting an html table help-Anyone Anyone?
I was trying to insert the latest Gallup Poll results http://www.gallup.com/poll/releases/pr040115.asp in a forum and I just couldn't do it without tons of white space showing up as a result
the html looks something like this <B>SUMMARY TABLE: PARTY HANDLING OF ISSUES OR PROBLEMS </B><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2 WIDTH=90% align=center><TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=24><B><I>2004 Jan 9-11<BR> (sorted by "advantage")</B></I></TD><TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=24><B><P ALIGN="CENTER">Republican Party</B></TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=24> <B><P ALIGN="CENTER">Democratic Party</B></TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=24><B><P ALIGN="CENTER">Republican<BR>Advantage/ Disadvantage</B></TD></TR><TR><TD WIDTH="51%" VALIGN="TOP" HEIGHT=17><P></P></TD><TD WIDTH="17%" VALIGN="TOP" HEIGHT=17><P ALIGN="CENTER">%</TD><TD WIDTH="16%" VALIGN="TOP" HEIGHT=17><P ALIGN="CENTER">%</TD><TD WIDTH="16%" VALIGN="TOP" HEIGHT=17><P ALIGN="CENTER">%</TD> </TR><TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17> <P>Terrorism</TD><TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">60</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">30</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">+30</TD> </TR><TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17> <P>The situation in Iraq</TD><TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">53</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">37</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">+16</TD> </TR><TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17> <P>Foreign affairs</TD><TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">51</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">40</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">+11</TD></TR><TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17> <P>Gun policy</TD> <TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">48</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">39</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">+9</TD> </TR> <TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17><P>The economy</TD> <TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">44</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">48</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">-4</TD> </TR> <TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17><P>Taxes</TD><TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">44</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">48</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">-4</TD></TR> <TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17> <P>Education</TD> <TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">41</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">50</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">-9</TD> </TR> <TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17><P>The federal budget deficit</TD><TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">39</TD><TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">49</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">-10</TD></TR> <TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17><P>Healthcare policy</TD> <TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">34</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">55</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">-21</TD> </TR> <TR><TD WIDTH="51%" VALIGN="BOTTOM" HEIGHT=17><P>The environment </TD><TD WIDTH="17%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">35</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17> <P ALIGN="CENTER">57</TD> <TD WIDTH="16%" VALIGN="BOTTOM" HEIGHT=17><P ALIGN="CENTER">-22</TD> </TR> </TABLE> Last edited by Halx; 01-16-2004 at 11:12 AM.. |
01-16-2004, 10:53 AM | #2 (permalink) |
I aim to misbehave!
Location: SW Oklahoma
|
Go here, Homesite 1.2
It's a free html editor and one of the best. I have used Homesite for years. I started with this one and moved on the the latest paid version. Pay attention to your width settings table width="" cellspacing="" cellpadding="" And your table data width settings td width="" These can be in pixels or percent of table width. You should get something like this. I left out the greater than and lesser than symbols so you could see the code. table width="95%" align="center" cellspacing="10" tr td align="center"2004 Jan 9-11 br (sorted by "advantage")/td td align="center"Republican Party/td td align="center"Democratic Party/td td align="center"Republican br Advantage/ Disadvantage/td /tr tr td align="center"/td td align="center"%/td td align="center"%/td td align="center"%/td /tr tr td align="center"Terrorism /td td align="center"60/td td align="center"30/td td align="center"+30/td /tr tr td align="center"The situation in Iraq /td td align="center"53/td td align="center"37/td <td align="center"+16/td /tr /table And Halx, how did I manage to get the posting window so screwed up?
__________________
Only two defining forces have ever offered to die for you, Jesus Christ and the American G. I. One died for your soul, the other for your freedom Last edited by rockogre; 01-16-2004 at 11:25 AM.. |
01-16-2004, 11:14 AM | #3 (permalink) |
Please touch this.
Owner/Admin
Location: Manhattan
|
i tried to fix it up for you.. but it didn't quite work...
you could just use the code tag and equally space everything
__________________
You have found this post informative. -The Administrator [Don't Feed The Animals] |
01-17-2004, 09:18 AM | #4 (permalink) |
Banned
Location: UCSD, 510.49 miles from my love
|
most forums that Ive had experience with like to choke on pure html table code, usually adding horrific whitespaces and sending things off the screen.
Usually, its a good idea to: Type it in by hand if the list is small OR Link to the table on the internet, or put it in an iframe. Hope that helps. |
01-17-2004, 03:56 PM | #5 (permalink) |
Apocalypse Nerd
|
Yeah I messed with it a little bit but pretty much just gave up for now. Actually I didn't really give up but rather get side tracked by the "Teen Titans" game I listed in the games forum.
Thanks for the help everyone... I suspect it may be hopless and beyond the design specs for this software. |
Tags |
helpanyone, html, inserting, table |
|
|