WordPress.org

Ready to get started?Download WordPress

Forums

Democracy poll width, work-around needed in IE! (7 posts)

  1. dominoeffect
    Member
    Posted 6 years ago #

    Hi there,

    I'm using the latest version of the Democracy poll plugin & widget on my sidebar, which works fine until I load it in IE and it throws the third column out of place, grr!

    Getting into the css it should be easy to fix, using the
    max-width tag, but this doesn't work in IE, as I think the line...

    /* yay IE hack - display or visibility don't work */

    ...explains.

    I've tried making a text widget with <?php jal_democracy() ?> (which brings up the poll for non-widgetised siebars) inside a table with width parameters, but it seems the php can't be called in the text widget.

    Can anyone suggest ideas for a workaround to affect the poll width in IE???

    Thanks in advance for your ideas :-)

    --I originally posted this in Plugins / Hacks but had no response so I'm moving it here. Hope this is ok.--

  2. dominoeffect
    Member
    Posted 6 years ago #

    I should point out that I'm fairly sure it is the plugin width that's causing the problem, because

    a) the nature of the third column's movement out-of-place is the same as if I insert an image which is too wide for the second sidebar, and

    b) the error only occurs when i actually vote on the poll, and not before then.

  3. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    It would be nice to have a link.

  4. dominoeffect
    Member
    Posted 6 years ago #

    Hey KM, I'm sorry, I would really like to put a link, and I'm sure it would help me out heaps, but the site is under password protection at the mo as it's not finished or launched :/

    It's really just a case of manipulating the width of the democracy plugin in a sidebar of the Gridfocus theme (examples of the same theme & sidebar structure here and here).

  5. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    This happens in IE6 not IE7?

  6. dominoeffect
    Member
    Posted 6 years ago #

    Yeah right enough!

    The IE hack in the stylesheet is irrelevent in IE7.

    I guess I'm not the first person with this type of qualm?

  7. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    Errors I found in the style.css

    Line 2 CSS property max-width is not supported [Microsoft Internet Explorer 6.0]
    Line 18 .democracy .addAnswerText {
    width: 80%;;<--remove this extra;

    Errors in basic.css
    Line 69 Value 'alpha(opacity=0)' is not supported for CSS property filter [Microsoft Internet Explorer 6.0]
    Line 74 Value 'alpha(opacity=100)' is not supported for CSS property filter [Microsoft Internet Explorer 6.0]

    Other than that I don't know. I did load it and work with it a little with no problems in IE7.

Topic Closed

This topic has been closed to new replies.

About this Topic