If you have an anchor (
<a>
) tag that contains block-level elements (which is technically not allowed, but all other browsers seem to be ok with it), such as <p>
or <div>
, the anchor will close itself before the elements it is supposed to contain. E.g.:
<a>
<p>hello</p>
</a>
Will render as:
<a> </a>
<p>hello</p>
If you give the anchor an href, though, even if it is just a blank string (
<a href="">...
), it renders fine.Here's a page that demonstrates the bug: http://footle.org/misc/opera-bug.html.
Anyway, I filed a bug with the Opera folks. Time for bed.
No comments:
Post a Comment