Previous Thread
Next Thread
Print Thread
Hop To
#46422 04/23/2006 8:16 AM
Joined: Apr 2006
Posts: 116
F
member
member
F Offline
Joined: Apr 2006
Posts: 116
includepollresults.php

// Grab the tablewrapper
list($tbopen,$tbclose) = $html -> table_wrapper();

should be

// Grab the tablewrapper
list($tbopen,$tbclose) = $html -> table_wrapper("full");

otherwise if the width set up in pixels not percents, poll results table would stretch the forum layout rather unexpectedly.

#46423 04/24/2006 12:08 AM
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
nice catch <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


- Allen
- ThreadsDev | PraiseCafe
Joined: Apr 2006
Posts: 116
F
member
member
F Offline
Joined: Apr 2006
Posts: 116
There is the same problem with preview post mode if you use pixel value for table width in CP->general options (i think). It stretches the enclosed preview table to the full width and therefore stretches the rest of the layout. I just removed $tbopen from the template and replaced it with the actual html code where the width was set to 100%, since the same table_wrapper was used for several tables on the same page, and I just couldn't be bothered to modify the code.

Last edited by fatalpapercut; 04/24/2006 9:25 AM.

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
1 members (Ruben), 667 guests, and 166 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)