Give help. Get help.

  • # January 5, 2013 at 8:47 pm

    Ok, not sure if this is possible but basically I have a class with a width of 50% and I have a jquery function that expands the class to show more text. Is it posiblé to override the class width with a deferent percentage? To 100%?

    # January 5, 2013 at 8:57 pm

    You mean something like

    $(‘.class’).css(‘width’, ‘100%’)

    # January 5, 2013 at 9:30 pm

    If .class is 50% then you can use div.class as the override for 100%

    Dunno if f that helps your script but that’s how you would override that class by granular means

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.