F*#king CSS

Out of context: Reply #11

  • Started
  • Last post
  • 14 Responses
  • monNom0

    first off: why use a span set to block instead of a div?

    It looks like what's happening is that your text height pushes the container (span) up. Since the image spans are hanging off the top of the block, they get some empty space below them...

    a couple of way to fix that:

    make the graphics background images aligned to bottom left.

    increase the top margin of the images to an em value so that it scales according to font size... requires working with ems though

    relative positioning might work too.

View thread