TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 141
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 73
  • Total: 73

Nesting Blocks

Started by clickbouyow, September 26, 2006, 07:21:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

clickbouyow

I did a search and didn't find anything like this.  I was wondering if there is a way to "nest" blocks (put two or more blocks inside of a block)?  This would be a great way to show servers or special deals.

Thanks,

akulion

well the blocks are basically containers

so you can put any and all sort of elements into them

to have the appearance of 2 blocks inside one simply use HTML tables to create the look

if you have anything specific in mind let me know - ill try and help u wih the code with what limited knowledhe i have ;)

clickbouyow

OK.  Maybe this will help.  I want to move the two game server block on the left side of the screen here (http://www.deadboneplatoon.com/smf/) to a "single" center block.   I don't think I can do it with html.

EDIT:  Now that I think about it, I think I can do it.  I can use a center HTML block and use the code there using, as you suggested, a table.  I will play around with that.  Thanks!

akulion

ur welcome

shouldnt be too tough at all


<table border=0><tr><td>
CODE FOR BLOCK 1
</td><td>
CODE FOR BLOCK 2
</td></tr></table>



Just remember one thing though...if its a PHP block (the server blocks)

the the table would have to be echoed out like so:



echo'
<table border=0><tr><td>';
CODE FOR BLOCK 1
echo'</td><td>';
CODE FOR BLOCK 2
echo'</td></tr></table>';


Thurnok

Don't let Aku fool you clip, his knowledge is not as limited as he eludes to.
You'll find him to be an extremely helpful person.  :)
Thurnok
The one, the only!

akulion

lol i have a lot to learn still so lots of mistakes and stumbles on the way to finally get somewhere

thanks for the compliment though :D

clickbouyow

Quote from: akulion on September 26, 2006, 08:10:30 PM
ur welcome

shouldnt be too tough at all


<table border=0><tr><td>
CODE FOR BLOCK 1
</td><td>
CODE FOR BLOCK 2
</td></tr></table>



Just remember one thing though...if its a PHP block (the server blocks)

the the table would have to be echoed out like so:



echo'
<table border=0><tr><td>';
CODE FOR BLOCK 1
echo'</td><td>';
CODE FOR BLOCK 2
echo'</td></tr></table>';



Actually, a center block will not work, since I have a forum and articles inabled.  I put it into an article, but the BBCode showed.  I was able to do it without tabling, I just need to work on it.  Thanks, again!

akulion

ur welcome - anytime u need help just say and dont be shy

Also if ur using articles there is a button marked < > press that to change over to HTML, using html may prove to be more useful since it supports a lot more customization than BB codes

clickbouyow

Thanks.  That is what I was planning to do.  Drag out dreamweaver and wizzywig it then paste the html.

akulion

oki doki good luck and ur welcome

This website is proudly hosted on Crocweb Cloud Website Hosting.