POLLS: Creating "stand alone" Polls and Polls included with a New Thread

  • Somewhere in the Community Forum there was a question asked regarding the position of TEXT with regard to an included POLL in a New Thread;
    but unfortunately I cannot locate it so decided to ask about this here.


    In starting a New Thread, sometimes I may want to INCLUDE a POLL with that Thread.
    However, in so doing, some of the TEXT in the Thread appears to the Right of the Poll Location - and if the text is of several paragraphs in length,
    the remainder of the TEXT will then appear BELOW the POLL.


    What I want is, that ALL of the TEXT in the Thread appear BELOW the POLL.
    What changes do I need to make in order to accomplish this?
    And where do I apply these changes?


    If the change is in Styles>CSS, I would appreciate being given the CSS code needed in order to accomplish the above.


    Thanks for any help someone can give me on this issue!

    • Official Post

    The easiest approach is forcing the poll to take up the entire space:


    CSS
    .message .pollContainer {
    	float: none;
    	max-width: 100%;
    }

    You can add margin-bottom if you want more space between the poll and the following text.

    Alexander Ebert
    Senior Developer WoltLab® GmbH

  • The easiest approach is forcing the poll to take up the entire space:


    CSS
    .message .pollContainer {
    	float: none;
    	max-width: 100%;
    }

    You can add margin-bottom if you want more space between the poll and the following text.

    Hello Alexander,


    I just made the changes in CSS a few minutes ago. It is working fine! This current configuration is much better.
    Thanks for your help!


    Dave

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!