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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 284
  • Total: 284

Individual block width

Started by Rav33n, January 31, 2009, 06:05:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rav33n

Link to my site: http://falsus.gamer.lk/forum/
SMF version: SMF ver. 1.1.7
TP version: TP v.1.0.6 beta 2
Theme name and version: Corporate America
Mods installed: None
Related Error messages: None

I need to set individual block widths to blocks on the front panel.

eg - I have two blocks side by side using the 2 column layout for the panel. I need block 1 to be 500px and block 2 to take the rest of the page width.

I tried achieving this using one block and having a table with two TD's, but each section needs a different kind of block (script and php) so it won't work that way unfortunately.

Any suggestions?

G6Cad

Yes, wait for next beta that have individual block width and also hight implemented

ardmhacha

Link to my site: http://www.orchardcounty.com
SMF version: SMF ver. 1.1.10
TP version: TP v.1.0.6 beta 3

I would like to set individual block widths to blocks on the front panel as Rav33n suggested. Was this implemented in v.1.0.6 beta 3, as its not obvious to me. I can set width in panels but it applies to both blocks. I want the left block to be 400px and the other 100%, filling the remaining space.

Forgive me if I'm missing something

IchBin

You can't force the width on individual blocks. It can only be done with all blocks. I don't think it was ever intended to be a per block setting. You can force the height or width of all blocks in a panel, just not separately.

G6Cad

If you use a grid layout for top, bottom upper and lower panels you can set the hight for blocks and they will show % of the width separated by how many blocks you have.

2 blcoks will be 50% 3 blocks will be 33.3%

IchBin

But that still doesn't allow you to set one block 40% and the other block 60%. Isn't that what is being asked?

Freddy

What if you use a PHP block for all of it and echo out the script part ?  You could split it up using tables or DIVs..

G6Cad

Quote from: IchBinâ„¢ on October 06, 2009, 03:30:00 PM
But that still doesn't allow you to set one block 40% and the other block 60%. Isn't that what is being asked?

Yes, but thats why i said it will divide in % depending on how many blocks there are in the grid

This website is proudly hosted on Crocweb Cloud Website Hosting.