Closed binarykitchen closed 10 years ago
@binarykitchen Use a DIV instead of a P. P only supports inline elements, and address is a block level element. Here's a fiddle on this. If you replace the P with a DIV you'll get what you expected. Use the DOM inspector to understand more.
Oh man, thx. Suprised to learn that after 15 years of hardcore HTML + CSS, grins ...
In my jade file I have this:
But the generated HTML code looks wrong:
but I am expecting this:
It looks like the address tag closes the parent tag too early. When I replace the address tag with span.address, then it works.
A bug?