Iframe has a black line around it


#1

When I use the iframe tag in the html code to display a rotating image the frame has a black line around it some white space and the image is smaller than the original. The size is perfect where the line is.

Does someone know how to get rid of the line and have the image display the correct size.

Thanks
Karl


#2

Hi Karl - Unbounce’s custom HTML widget won’t add an outline and the iframe code shouldn’t either unless the border is included in the HTML. If it’s part of the iframe code, just look for the snippet frameborder="XX" in the iframe code and eliminate it. Otherwise it might have to do with the content in the frame. Do you have an example of the code you’d be willing to share here?