Windswept (windswept) wrote in component_help,
Windswept
windswept
component_help

Borderless userpics

I used the tutorial, and it works for my main page, but I've got a thick white border around all the userpics on my Friends page. Ideas? This is all the code I have in my theme layer (i.e., not much).


layerinfo "type" = "theme";

layerinfo "name" = "crazypills theme";



function CommentInfo::print() {

    if (not $.enabled) { return; }

    if ($.count > 0 or $.screened) {

        $this->print_readlink();

        """ <img src="http://home.comcast.net/~crazypills/tinycapsule.gif" /> """;

    }

    $this->print_postlink();

}



function Page::print_custom_head() {

"""

<style media="screen" type="text/css">

a.headerLinks:visited {color:#ffe3c6;}

</style>

""";



"""

<style>

        .entry {

            text-align: justify;

img { border-width: 0px; }

</style>

""";

}




Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 18 comments