Style an iframe…
-
Never mind, just stupid. Figured it out.
Hey, great plugin. I want to put some style to my iframes, I put this into my iframe tag to get some shadow:
style=”margin-top:50px; margin-left:0px; -moz-box-shadow: 2px 2px 6px #000; -webkit-box-shadow: 2px 2px 6px #000;”
That worked great.
Now, since I wanted to add that shadow to all my iframes, I would like to put that in a class, is there a default class and where do I find it (not in hte syle.css, right)
I tried to put following class in the styles.css:
#iframe {
margin-top:50px;
margin-left:0px;
-moz-box-shadow: 4px 4px 14px #000;
-webkit-box-shadow: 4px 4px 14px #000;
}But that is not enough. Even when adding class=”iframe” or what ever i call it. Apparently I don’t know much about css and classes, where should I put the class-tags and how should I do this?
- The topic ‘Style an iframe…’ is closed to new replies.