Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Evil scrollbar in firefox and opera

  • This topic is empty.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #34675
    miniCarl
    Member

    http://www.fristil.se/ny

    A horizontal scrollbar appears in firefox and opera… I cant see why :(

    #88677
    chrisburton
    Participant

    This is your issue.

    .fullWidth-left {width: 100%;}
    #88678
    Mottie
    Member

    Actually it’s something within that… in the “header-socialbuttons”

    #88679
    miniCarl
    Member

    What can I do about it?

    #88681
    miniCarl
    Member

    Mottie is right… if i remove the header-socialbuttons div, the scrollbar disapears.
    I tried applying an overflow:hidden, with no result :(

    #88682
    Mottie
    Member

    Try this css:

    div.header-socialbuttons iframe {
    width: 0;
    }
    #88683
    miniCarl
    Member

    Didn’t help :/

    #88684
    Mottie
    Member

    Wierd… I’m trying to use Firebug lite to inject css, but it’s a pain. So I know this script works, but that css (even with !important doesn’t)

    $('div.header-socialbuttons iframe').width(0);
    #88685
    miniCarl
    Member

    I tried injecting with firebug like you said, and indeed the scrollbar disapears… but so does the Google+1 button. I would like to keep it :p

    #88686
    Mottie
    Member

    I don’t even see the Google +1 button. Ok so more specifically the problem iframe is this one:

    $('iframe.FB_UI_Hidden').width(0);

    See if using that keeps Google around… When you click the FB link the popup still seems to work.

    #88687
    miniCarl
    Member

    I put it in a $(document).ready() thingy, and it solves the problem.
    Altho, i’d rather have solved it with pure css.

    #88692
    Mottie
    Member

    A js solution shouldn’t make a huge difference since the FB button is being added using js, so if it is turned off, I don’t think you’d see a button at all anyway.

    Another solution would be to move the button(s) to the left side of the screen.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘CSS’ is closed to new topics and replies.