Forums

  • # May 26, 2013 at 10:48 am

    I am trying to add 40 pixels of margin on all sides of an iframe. Here is my page. Currently, my iframes have a bit of code to pull it all the way over to the edge on my front page. I want to add the little Kickstarter widget on my Feel Good Candy page, which is also an iframe, but the way the widget is designed by Kickstarter, no matter what I try, I can’t add margin or padding. Any suggestions? Thank you in advance!

    Here is the code for the iframe:

    Edit: Hopefully, I am not missing something glaringly simple.

    Anonymous
    # May 26, 2013 at 11:21 am

    You want to add margin to the content inside the iframe? which would be the kick-starter widget?

    # May 26, 2013 at 11:21 am

    add the margin to the iframe container – .floatLeft (a terrible name btw)

    # May 26, 2013 at 12:36 pm

    Two things:

    1) I don’t see that margin under .floatLeft in your css

    2) Kickstarters code can’t override that margin without using greater specificity, which it hasn’t

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

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag