TinyPortal

Development => Support => Topic started by: DocPixel on November 01, 2008, 12:46:34 AM

Title: blocks too wide
Post by: DocPixel on November 01, 2008, 12:46:34 AM
Hi, me again...  :coolsmiley:
Some of my members have really wide screens, and some TP blocks stretch way over there on those. Is there a way to limit the horizontal size of blocks? Do I need to tweak the code?  :P

Please see screen shot.

SMF 1.1.6
TP 1.0.5

TIA.
Sarah
Title: Re: blocks too wide
Post by: G6Cad on November 01, 2008, 12:50:14 AM
I dont think thats block related, i think it's your code used in the center that causes this, the blocks should stay the same widh no matter the resolution on the screens.

From the looks of it on your screenshot, it seems it's the centercontent you have there that make it look the way it does.
Title: Re: blocks too wide
Post by: DocPixel on November 01, 2008, 03:06:27 AM
The ones in the center are tables with fixed width, that's why they stay the same size. Is that what you mean?

I've attached a screenshot of how it looks on my normal size monitor.
Title: Re: blocks too wide
Post by: G6Cad on November 01, 2008, 09:28:08 AM
QuoteThe ones in the center are tables with fixed width, that's why they stay the same size. Is that what you mean?

Yes, thats exactly what i mean :)

If that content have fixed with, it will never follow the diffrent screen resolution used by your members.
Eather make the content follow the resolution ( float ) or tell your members you have opted your site to be viewd in the resolution you have on your screenshot  :)
Title: Re: blocks too wide
Post by: DocPixel on November 01, 2008, 06:41:37 PM
So is there no way to control the width of the blocks?
Title: Re: blocks too wide
Post by: G6Cad on November 01, 2008, 06:43:55 PM
Only by panel settings or % if you use the grid layout
Title: Re: blocks too wide
Post by: DocPixel on November 01, 2008, 06:59:06 PM
In the panel settings, I don't see the way to set block width, and I don't know how to access the grid layout. Can you please tell me how to find those?  :)
Title: Re: blocks too wide
Post by: G6Cad on November 01, 2008, 07:06:57 PM
What is your setup, as you didnt give the info in your first post according to the posting guide, i assumed you had the latest release of tp installed.

Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)
Title: Re: blocks too wide
Post by: DocPixel on November 01, 2008, 07:42:10 PM
Of course, sorry I overlooked that part.

Link to my site: http://www.onlinevisualartists.com
SMF version: SMF 1.1.6
TP version: TP 1.0.5
Theme name and version: modified Silver
Mods installed:
Mod Name     Version     
1.    SMF 1.1.2 Update Package    1.1.2    [ Uninstall ]
2.    SMF Gallery Lite    1.7.1    [ Uninstall ]
3.    SMF 1.0.11 / 1.1.3 Update    1.1    [ Uninstall ]
4.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ Uninstall ]
5.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    [ Uninstall ]
6.    Global Headers Footers    1.3    [ Uninstall ]
7.    Paid Subscriptions    0.18    [ Uninstall ]
8.    Tagging System    1.0.5    [ Uninstall ]
9.    TinyPortal    1.052    [ Uninstall ]
10.    SMF 1.0.14 / 1.1.6 Update    1.0    [ Uninstall ]
11.    SMF Sitemap    1.2.2    [ Uninstall ]
12.    Admin Notepad    1.0    [ Uninstall ]
13.    SMF Gallery Pro    1.4.0.3    [ Uninstall ]
14.    Newsletter Pro    1.0.2    [ Uninstall ]
15.    Drafts (for 1.1.x)    1.08    [ Uninstall ]
16.    SMF Gallery Pro Upgrade    1.4.3    [ Uninstall
Related Error messages: none
Title: Re: blocks too wide
Post by: G6Cad on November 01, 2008, 07:49:42 PM
Did you use the search and also did you read our documentation ?

http://docs.tinyportal.co.uk/index.php?board=8.0;sort=subject

Title: Re: blocks too wide
Post by: DocPixel on November 01, 2008, 08:22:25 PM
Yes I did, before I posted - if I had found the answer that way, I wouldn't have bothered you.
Title: Re: blocks too wide
Post by: IchBin on November 01, 2008, 08:52:46 PM
You can't control the width of each block individually. You can only control the width of the entire panel. If you want your tables to stretch to the width of the block, then set the code on your tables to use a percentage instead of a fixed width in pixels.
Title: Re: blocks too wide
Post by: DocPixel on November 01, 2008, 09:25:43 PM
Thank you, Ichbin. I appreciate the help, as always. Thank you too, G6.