1

I have this piece of Polyglot XHTML5 and I am trying to make a space between each reference.
However it seems I cannot use the p or br tags. It still has to be valid...

Hopefully somebody could help out, would be super awesome!

<dl class="references">
    <dt id="ref-abc">[abc2007]</dt>
    <dd>Herpa Derp; <em>Trollolol</em>;
        Elolololol
        <a href="http://example.com">
        <code>http://www.example.com</code>
        </a>
    </dd>
    <dt id="ref-abc">[abc2007]</dt>
    <dd>Herpa Derp; <em>Trollolol</em>;
        Elolololol
        <a href="http://example.com">
        <code>http://www.example.com</code>
        </a>
    </dd>
    <dt id="ref-abc">[abc2007]</dt>
    <dd>Herpa Derp; <em>Trollolol</em>;
        Elolololol
        <a href="http://example.com">
        <code>http://www.example.com</code>
        </a>
    </dd>
</dl>
unor
  • 92,415
  • 26
  • 211
  • 360
Susan
  • 301
  • 1
  • 5
  • 17
  • 1
    Why can't you use `p` or `br` tags (like a simple `
    ` after your anchor)? They should be valid in polyglot-markup (as far as I'm aware).
    – GitaarLAB Apr 29 '13 at 14:26

1 Answers1

1

You could simply use CSS to get the space between the definitions:

.references dd { margin-bottom:16px; }
GitaarLAB
  • 14,536
  • 11
  • 60
  • 80