Zzyzx Wolfe (zzyzx) wrote in component_help,
Zzyzx Wolfe
zzyzx
component_help

  • Mood:
  • Music:

Borderless Userpics

I've found that if you want all userpics to have no border, even the hard coded ones, you can put the following in your stylesheet:

img { border-width: 0px }

The code to do this without anything else would just be:

function Page::print_custom_head() {
"""
<style>
img { border-width: 0px; }
</style>
""";
}
Tags: !tutorial, *account level: plus/paid/perm, function: print_custom_head, user: zzyzx
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic
  • 25 comments