Forums

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

Home Forums CSS Space around AnythingSlider???

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36399
    perarne
    Member

    Hi

    I’m not a programmer, so this is probably very easy for you guys. I’m trying to use AnythingSlider in an iframe, but I get the white space (padding) around the hole slider.

    Look at this sample page and you’ll see what I’m talking about. I have putted a frame around the iframe, so you can easily see the with spaces on the left and top side.

    Do you know how to fix this? Thanks for all help I can get…

    #95706
    Tcooper
    Member

    I’m not going to start asking what the hell is going on with the iframe and tables, but the space is caused by firstly your body will have the default browser margin:

    body {
    margin: 0
    }

    Also, the div.anythingSlider element has 5px horizonal padding:

    div.anythingSlider {
    padding: 0
    }
    #95938
    perarne
    Member

    Thank you, Tcooper. Body margin was the problem…

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