DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

CSS Wrapper For Iframe

05.08.2006
| 11675 views |
  • submit to reddit
        // The CSS recreates the top and bottom portions of a Flickr badge. The iframe displays the flickr photo badge. Useful for blogging tools that allow an iframe but block javascript. Use the badge URL provided in the Flickr badge generator in the iframe. Remove the portion of the Flickr URL that relates to colors.
Remove this: zg_bg_color='+zg_bg_color+'&


<div style="text-align: center; font-family: arial;">
<a href="http://www.flickr.com"><span style="color: rgb(57, 147, 255);">www</span>.<strong
style="color: rgb(57, 147, 255);">flick<span
style="color: rgb(255, 28, 146);">r</span></strong>.<span
style="color: rgb(57, 147, 255);">com</span></a><br>
<iframe style="width: 115px; height: 155px;"
src="Paste your Flickr badge URL here"
frameborder="0" scrolling="no"></iframe>
<br>
<a href="http://www.flickr.com/badge_new.gne"><span style="color: rgb(57, 147, 255);">what is this?</span></a>
</div>