If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Changing table width from the advanced poll  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi guys,

My poll is working fine, it's a very easy to use poll.
I saw that by using the admin function you can adjust the table width.
But that is only the table width from the header. How can i change the table width of the whole poll? Because when i put the poll into a table of my site, the whole table will increase, and my lay-out is messed up.

I tried to look in de database by using phpadmin, i found out i could change some thing there. But not the table width of the main table.

Also the script is using some var. which direct to a poll_view.html wich is not included in my template folder. Maybe that's why?

I really want to start using it, but i can't insert it into my website like this, the whole lay-out of the site will be messed up.
On this website i saw that the have the same poll and it is not very width so it must be possible.

Thanks,

Tim (sorry about my English)
Anonymous



i have the same problem... i want use this for my site too, but it will mess up the whole layout of my site. if you find out how to do it please email me with the answer. i try looking for on of the php templete files, but i don't know enougth about php code to know what i am looking at. thanks for the post.. email info@gallery808.com thanks G808
Anonymous



Ok, if i find it out, i will e-mail you. But i haven't yet.



Tim
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Go to the admin area then templates.

Edit all the templates so that the table width is specified by you in the
templates rather than some PHP variable.

For example it might look like this width="$php_poll[table_width]" or something
Change it to width="200px" or something like that.

There are separate templates for viewing the poll and the results.
So you'll want the _head section to edit the table width.

Hope this helps.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Well i thought i tried that allready. But i will still try it again when i am home.

Thanks,

Tim
Anonymous



I've tried it, but still it doesn't help anything.

You can test it yourself by making a table with 2 colums.
And inserting the poll in the right colum. You will see how big this colum will be.
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Okay.

set the table width to say 300px.

set each column to 150px.

Learn some HTML AND CSS.

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum