Page 1 of 1

Moving Poll to right block

Posted: 16. July 2008 21:28
by Fliggerty
Hello again!

I've got one more quick question. I've moved the poll block over to the right column. I replaced this:

Code: Select all

<div class="forabg">
with this:

Code: Select all

<div class="panel">
And I also switched these two lines:

Code: Select all

<!-- IF poll.S_CAN_VOTE --><dd style="width: auto;"><!-- IF poll.S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
and

Code: Select all

<dt><!-- IF poll.S_CAN_VOTE --><label for="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}">{poll.poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll.poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
(I did that so the radio button would be to the immediate right of the option text.)

The only problem I have is that the text wraps after only a few characters. So instead of reading like this:
"You may select 1 option"
it looks more like this:
"You
may
select
1
option"

You can see this here:
http://ghf.erekson.org

login: testaccount
password: testaccount

Any ideas? Thanks a bunch!

--Fliggerty

Re: Moving Poll to right block

Posted: 24. July 2008 02:29
by Fliggerty
So yeah, I still haven't been able to figure this one out, despite all of my best efforts. Anyone have any help to offer?

Thanks!

--Fligg