I am trying to insert a table with a border into a side block. It works, but I end up with the table at the bottom of the block and a large amount of space above. Here is the code i inserted into a html block:
<TABLE BORDER=1 BORDERCOLOR=BLUE>
<TR> <TD>DUI Racing</TD> <TD>5045</TD> </TR>
<TR> <TD>Gocandyman</TD> <TD>5040</TD> </TR>
<TR> <TD>Eviserator</TD> <TD>5035</TD> </TR>
<TR> <TD>Ralphie8</TD> <TD>5030</TD> </TR>
<TR> <TD>JAKS</TD> <TD>5025</TD> </TR>
<TR> <TD>Dino</TD> <TD>5020</TD> </TR>
<TR> <TD>Miller Jr</TD> <TD>5015</TD> </TR>
<TR> <TD>Tango444</TD> <TD>5010</TD> </TR>
<TR> <TD>WEEDY</TD> <TD>5005</TD> </TR>
<TR> <TD>C</TD> <TD>5000</TD> </TR>
</TABLE>
any ideas?
I don't know why it does that. But for quick fix you can turn it into a phpbox and put it in like this:
echo '
<TABLE BORDER=1 BORDERCOLOR=BLUE>
<TR> <TD>DUI Racing</TD> <TD>5045</TD> </TR>
<TR> <TD>Gocandyman</TD> <TD>5040</TD> </TR>
<TR> <TD>Eviserator</TD> <TD>5035</TD> </TR>
<TR> <TD>Ralphie8</TD> <TD>5030</TD> </TR>
<TR> <TD>JAKS</TD> <TD>5025</TD> </TR>
<TR> <TD>Dino</TD> <TD>5020</TD> </TR>
<TR> <TD>Miller Jr</TD> <TD>5015</TD> </TR>
<TR> <TD>Tango444</TD> <TD>5010</TD> </TR>
<TR> <TD>WEEDY</TD> <TD>5005</TD> </TR>
<TR> <TD>C</TD> <TD>5000</TD> </TR>
</TABLE>
</div>';
Try to make the block "Do not use title/frame", that might help.
Quote from: Bloc on September 26, 2005, 10:08:15 AM
Try to make the block "Do not use title/frame", that might help.
Already tried that. Didnt make a difference.
Have you tried using the <head> </head> <body> </body> tags (like on a full html page)?
Yes I did. Is there some kind of align tag or something that would solve this?
i think the valign=top attribute of the table tag might do it, but tables are my least favorite aspect of html ;D
I tried the php box that Ichbin suggested. it worked but it shoved all the stuff in the other right side boxes to the right lol.
Can you give me an example of the code with the align tag?
This is driving me crazy :idiot2: :idiot2: :idiot2: Help Bloc :knuppel2: :buck2:
What do you mean it shoved everything in the right side to the right. In mine it has everything left aligned.
Quote from: IchBinÃ,â,,¢ on September 27, 2005, 01:19:58 AM
What do you mean it shoved everything in the right side to the right. In mine it has everything left aligned.
I added the code you posted to a php box as a right side menu block. I have 3 other right side blocks. When i added the php box with your code, all the contents of the other right side blocks shifted in their boxes from the left to the right side of the box. it was wierd lol.
hmm.... that didn't happen in mine with Firefox. What browser you using?
IE
hmmm.... Stilll didn't happen on mine with IE. Maybe put align="left" in your table and see if that helps. You could surround it with a <div align="left"> tag too and see if that helps.
Thanks, put it where? Could you post the origional code with the added tag please? :idiot2:
thanks :)
It could look like this:
echo '
<div align="center">
<TABLE BORDER=1 BORDERCOLOR=BLUE>
<TR> <TD>DUI Racing</TD> <TD>5045</TD> </TR>
<TR> <TD>Gocandyman</TD> <TD>5040</TD> </TR>
<TR> <TD>Eviserator</TD> <TD>5035</TD> </TR>
<TR> <TD>Ralphie8</TD> <TD>5030</TD> </TR>
<TR> <TD>JAKS</TD> <TD>5025</TD> </TR>
<TR> <TD>Dino</TD> <TD>5020</TD> </TR>
<TR> <TD>Miller Jr</TD> <TD>5015</TD> </TR>
<TR> <TD>Tango444</TD> <TD>5010</TD> </TR>
<TR> <TD>WEEDY</TD> <TD>5005</TD> </TR>
<TR> <TD>C</TD> <TD>5000</TD> </TR>
</TABLE>
</div>';
Or this:
echo '
<TABLE BORDER=1 BORDERCOLOR=BLUE align="center">
<TR> <TD>DUI Racing</TD> <TD>5045</TD> </TR>
<TR> <TD>Gocandyman</TD> <TD>5040</TD> </TR>
<TR> <TD>Eviserator</TD> <TD>5035</TD> </TR>
<TR> <TD>Ralphie8</TD> <TD>5030</TD> </TR>
<TR> <TD>JAKS</TD> <TD>5025</TD> </TR>
<TR> <TD>Dino</TD> <TD>5020</TD> </TR>
<TR> <TD>Miller Jr</TD> <TD>5015</TD> </TR>
<TR> <TD>Tango444</TD> <TD>5010</TD> </TR>
<TR> <TD>WEEDY</TD> <TD>5005</TD> </TR>
<TR> <TD>C</TD> <TD>5000</TD> </TR>
</TABLE>';
Thanks man, Ill try them :coolsmiley:
Ichbin,
Your code worked. However i realized i cant use it because i actually want to insert this table within an already existing html box. So the code is going to have to be html and not php. I am sure there is a way to do this, or it is a bug in TP.Either way, I give up LOL. Thanks for trying to help me.
ah, I see now..use "javascript/html" type of block, not "html" block. That last one is going through the smiley/bbc parser, so it adds all the spaces you have as real spaces - which normally html code doesn't. And use a width="100%" in the table..so it stretch all the way out in the block.
I will change the name to "bbc" instead of "html" from now on, to distinguish better between them.
^leave it to this guy to figure it out. You'd think it was his mod or something...:P
Yeah, Frustrating ain't it ! ;)
Nah! Its a feature ;)
lol Nokonium.
I beginning to wonder if Bloc is actually a machine. I see him up at all hours of the day/night updating this and that. Seems to me the man has no limit, so he has to be Alien or Machine. :)
I havent tried it to see if it worked yet LOL :2funny:
Ok, after looking at the other code in the block besides the table, it wasnt html it was bbc code. Changing it to the javascript/html box lined up the table sweet. however now instead of the images, i just have a bunch of bbc code around the table. Anyone have a gun? :uglystupid2:
I copied it verbatim - I don't even know what it means but I liked the code so I copied it:
fuchsmail.com/main/index.php (http://fuchsmail.com/main/index.php)
Yes that is correct. However there is more in the block than just the table. As I see it, the only option to get this to work right is for me to re-write the rest of the block in html rather than bbc code. unfortunatly, I know zero html. lets just end this thread before i lose my mind LOL :idiot2:
i'll help you write it in html. what is the question?
Yes, post your needs Racenut. Most of us here know HTML, we just don't know PHP like Bloc.
HA! I did it :laugh: :laugh: :laugh: :laugh:
Small feat for you guys, monumental for me.
Thanks for all who helped, and/or offered.
rofl good job!
looks great - can you post the code ... I want to put it on my site ;-)
very nice. :)
If you want to make a table and give it the same colours as your theme try something like this
<table class="titlebg" width="100%" align="center"><tr><td class="titlebg"><div align="center">The Table Title</div></td></tr>
<tr><td>
<table class="titlebg" width="100%" align="left">
<tr> <td class="windowbg">DUI Racing</td> <td class="windowbg2">5045</td> </tr>
<tr> <td class="windowbg">Gocandyman</td> <td class="windowbg2">5040</td> </tr>
<tr> <td class="windowbg">Eviserator</td> <td class="windowbg2">5035</td> </tr>
<tr> <td class="windowbg">Ralphie8</td> <td class="windowbg2">5030</td> </tr>
<tr> <td class="windowbg">JAKS</td> <td class="windowbg2">5025</td> </tr>
<tr> <td class="windowbg">Dino</td> <td class="windowbg2">5020</td> </tr>
<tr> <td class="windowbg">Miller Jr</td> <td class="windowbg2">5015</td> </tr>
<tr> <td class="windowbg">Tango444</td> <td class="windowbg2">5010</td> </tr>
<tr> <td class="windowbg">WEEDY</td> <td class="windowbg2">5005</td> </tr>
<tr> <td class="windowbg">C</td> <td class="windowbg2">5000</td> </tr>
</table></td></tr></table>
Thanks, Here is the code im using for the table.
<TABLE BORDER=1 WIDTH=100%
<TR BGCOLOR="#CDD4DD"> <TD>DUI Racing</TD> <TD>5045</TD> </TR>
<TR> <TD>Gocandyman</TD> <TD>5040</TD> </TR>
<TR> <TD>Eviserator</TD> <TD>5035</TD> </TR>
<TR> <TD>Ralphie8</TD> <TD>5030</TD> </TR>
<TR> <TD>JAKS</TD> <TD>5025</TD> </TR>
<TR> <TD>Dino</TD> <TD>5020</TD> </TR>
<TR> <TD>Miller Jr</TD> <TD>5015</TD> </TR>
<TR> <TD>Tango444</TD> <TD>5010</TD> </TR>
<TR> <TD>WEEDY</TD> <TD>5005</TD> </TR>
<TR> <TD>C</TD> <TD>5000</TD> </TR>
</TABLE>
As you can see it has 2 rows. What would the code be if I wanted to have a third row?
Like this: 1. weedy 5000
thanks
<TABLE BORDER=1 WIDTH=100%
<TR BGCOLOR="#CDD4DD"> <TD>DUI Racing</TD> <TD>5045</TD> </TR>
<TR> <td>1</td> <TD>Gocandyman</TD> <TD>5040</TD> </TR>
<TR> <td>2</td> <TD>Eviserator</TD> <TD>5035</TD> </TR>
<TR> <td>3</td> <TD>Ralphie8</TD> <TD>5030</TD> </TR>
<TR> <td>4</td> <TD>JAKS</TD> <TD>5025</TD> </TR>
<TR> <td>5</td> <TD>Dino</TD> <TD>5020</TD> </TR>
<TR> <td>6</td> <TD>Miller Jr</TD> <TD>5015</TD> </TR>
<TR> <td>7</td> <TD>Tango444</TD> <TD>5010</TD> </TR>
<TR> <td>8</td> <TD>WEEDY</TD> <TD>5005</TD> </TR>
<TR> <td>9</td> <TD>C</TD> <TD>5000</TD> </TR>
</TABLE>
you da man :laugh:
Glad I could help. ;D
Ok, after re-writing the whole box (a learning experience) here is the final code i used, and attached is what the block looks like. Thanks to all as I used a little of what everyone offered.
Side note: Do you guys that code have any hair left on your heads? I have pulled most of what i had left out over the last couple days. :idiot2:
<br>
<center><u><b>Chase Standings</b></u></center>
<br>
<center><img src="http://www.nsro.net/images/logos/super_trucks_sm.gif"></center>
<br>
<TABLE BORDER=1 WIDTH=100%
<TR BGCOLOR="#CDD4DD"> ÂÃ, <td class="titlebg">1</td> <td class="titlebg">DUI Racing</td> <td class="titlebg">5045</td> </TR>
<TR> <td class="titlebg">2</td> <td class="titlebg">Gocandyman</td> ÂÃ, <td class="titlebg">5040</td> </TR>
<TR> <td class="titlebg">3</td> <td class="titlebg">Eviserator</td> ÂÃ, <td class="titlebg">5035</td> </TR>
<TR> <td class="titlebg">4</td> <td class="titlebg">Ralphie8</td> ÂÃ, <td class="titlebg">5030</td> </TR>
<TR> <td class="titlebg">5</td> <td class="titlebg">JAKS</td> ÂÃ, <td class="titlebg">5025</td> </TR>
<TR> <td class="titlebg">6</td> <td class="titlebg">Dino</td> ÂÃ, <td class="titlebg">5020</td> </TR>
<TR> <td class="titlebg">7</td> <td class="titlebg">Miller Jr.</td> ÂÃ, <td class="titlebg">5015</td> </TR>
<TR> <td class="titlebg">8</td> <td class="titlebg">Tango444</td> ÂÃ, <td class="titlebg">5010</td> </TR>
<TR> <td class="titlebg">9</td> <td class="titlebg">WEEDY</td> ÂÃ, <td class="titlebg">5005</td> </TR>
<TR> <td class="titlebg">10</td> <td class="titlebg">C</td> ÂÃ, <td class="titlebg">5000</td> </TR>
</TABLE>
<br> ÂÃ, Ã‚Ã, Ã‚Ã, Ã‚Ã, Ã‚Ã, Ã‚Ã, Ã‚Ã, Ã‚Ã,Â
Next Race:
Texas
<br>
<br>
<a href="http://www.nsro.net/Super%20Truck%20Standings/rpmstandings.html">Complete Standings</a>
<br>
<br>
<a href="http://www.nsro.net/forum/index.php?topic=1763.0">Complete Schedule</a>
That looks nice Racenut. I'm glad you're learning some HTML. :) Although, I have some bad news for you. HTML is the easiest to learn lol. Wait until you start looking into PHP. :)
Quote from: IchBinâââ,¬Å¾Ã,¢ on September 29, 2005, 10:58:26 PM
That looks nice Racenut. I'm glad you're learning some HTML. :) Although, I have some bad news for you. HTML is the easiest to learn lol. Wait until you start looking into PHP. :)
Tell me about it. I have messed up php so many times, I've given up counting. It is a
very steep learning curve.
That is the most awesome use of tPortal I've seen - if you haven't seen the screen shot - you should.
Please keep posting code like that.
Regards
Quote from: iowamf on September 29, 2005, 11:30:59 PM
That is the most awesome use of tPortal I've seen - if you haven't seen the screen shot - you should.
Please keep posting code like that.
Regards
Well you can just look at what i have done with TP and If there is anything I have done you would like to know about, I would be glad to help. just remember im anÂÃ, :idiot2:ÂÃ, :2funny:
http://www.nsro.net/forum/index.php
Wow, on my big 19" CRT that site looks fantastic. Nice job Racenut!! The columns are nice and wide, with a great center section.
Quote from: IchBinÃ,â,,¢ on September 29, 2005, 11:53:34 PM
Wow, on my big 19" CRT that site looks fantastic. Nice job Racenut!! The columns are nice and wide, with a great center section.
Thank you. I just added the content. The credit for the custom theme and of course TP goes to Bloc. He has been a tremendous help to me. I could not have done it without him.
Wow that's cool Racenut,
It made me think of a block for arcade i always wanted... When you look at the statistic pages for Arcade it has a lot of output. The block i'm thinking about would show the most populair game with player and the score in it.
Problem is I'm a noob with all the php :|
Any takers on this one ?
That TP or yours is really impressive Racenut
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fpeeps%2Fhat3.gif&hash=3c24d1237c6400a2d0a95d51ffa40069e70932e2)
I like the new new posts/no new posts icons. ;D
But I must say you used TP to the fullest, with all the special blocks for weather etc. Impressive. :)