Pixel Border at bottom of krpano?

  • Hello all,

    I'm net to the krpano world, but love the player and support.

    I have a question though. I've noticed now that I've implemented it on some sites that there seems to be about a 1 pixel border at the bottom of the player. It's definitely part of krpano. I was wondering if anybody knows anything about this, or more importantly how to fix it.

    Thanks!

    Phil

  • Hi,

    this seems to be a html/css thing,

    when you take a screenshot and measure the pano height,
    it's exactly 283 pixel height (this is the size that was set in the html file)

    or try right clicking on the pano and then on the "border",
    you see the border is not a part of the flash element,

    try to set the the margin, and padding of the flash element to 0,
    maybe this helps,

    best regards,
    Klaus

  • Ah! Found the culprit!

    You were right, it is an html & css thing. Amazingly frustrating, I've just never seen it before.

    After reading though a swamp of html/css documentation I found that that gap is there for the descenders on letters like g and p.

    A little css fixes it easily.

    td object, td embed {
    vertical-align: bottom;
    }

    Thanks for the help.

Participate now!

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