Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter idowens

    (@idowens)

    so before <img> and after .> add <div class="gravatar"> and </div> respectively?

    No, just add class="gravatar" somewhere in the <img> tag, like so:
    <img src="<?php gravatar("PG", 60, "https://www.idowens.com/wordpress/wp-content/defico.bmp", "FFCFCF"); ?>" alt="gravatar" class="gravatar" />

    Thread Starter idowens

    (@idowens)

    Kafkaesqui, I had to edit your img class a touch for my needs, but it worked like a charm. Thanks so much for the mini-tutorial!

    Glad I could help. And the benefit of stuff like this is the ability to customize to ones needs (or wants). To paraphase something I read only recently, nothing wrong with wanting your design to be just that…yours. ;)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘justify text around pic’ is closed to new replies.