Inspired by the new User Flair, but the question applies to the general case as well.
Let's say I want to include something like this on a site that doesn't allow me to specify external styles or use any javascript. The only thing I can do is paste in an object
, embed
, or iframe
, and some other simple html. Additionally, the width of the space is only 160 pixels, rather than the 200 needed by default for the flair badge.
To fix this, I want to set styles for the valuable-flair
class in the iframe, namely change width to be 160px instead of 200. Then things will be fine, as long as the username doesn't overlap (and even then, once I figure this out I can use the same technique to play with that as well).
Any ideas?