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,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
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
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 206 guests, and 158 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)