Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (Sirdude), 24 Guests and 20 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/15/08
Posts: 7
Top Posters (30 Days)
Ruben Rocha 103
Rick 81
Mark S 72
Thelockman 56
Gizmo 50
driv 35
ntdoc 32
Sirdude 30
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#46422 - 04/23/06 05:16 AM Yet another insect in Polls
fatalpapercut Offline
member
****

Registered: 04/19/06
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.

Top
#46423 - 04/23/06 09:08 PM Re: Yet another insect in Polls
AllenAyres Moderator Offline

****

Registered: 12/29/03
Posts: 1667
Loc: Texas
nice catch
_________________________
- Allen
- ThreadsDev | PraiseCafe

Top
#46424 - 04/24/06 06:24 AM Re: Yet another insect in Polls
fatalpapercut Offline
member
****

Registered: 04/19/06
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.


Edited by fatalpapercut (04/24/06 06:25 AM)

Top


Shout Box

Today's Birthdays
GOTMYSELFA...., smilinjack
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
Today at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
Yesterday at 10:00 PM
Chaging the "max online" number and date
by wanted
Yesterday at 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
Yesterday at 10:26 AM
Custom island with sql connection
by Robje01
Yesterday at 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156017 Posts

Max Online: 978 @ 06/24/07 08:19 PM