[thelist] Firefox Quirk Found, need help.

Lee Kowalkowski lee.kowalkowski at googlemail.com
Tue Aug 28 08:34:17 CDT 2007


On 28/08/07, Darrell King <darrellgking at gmail.com> wrote:
> They render visually immediately above the element following them in the
> source.

Ordinarily yes.  But what about this:

<style>
  span,p{float:left;width:100%};
</style>
<a name="foo1">x</a>
<span>foo1</span><p>bar 1</p>
<a name="foo2">x</a>
<span>foo2</span><p>bar 2</p>
<a name="foo3">x</a>
<span>foo3</span><p>bar 3</p>
<a name="foo4">x</a>
<span>foo4</span><p>bar 4</p>
<a name="foo5">x</a>
<span>foo5</span><p>bar 5</p>

I put the 'x's in there so you can see where the anchors actually are.
 ...or even this:

<style>
  span,p{float:left;width:100%};
</style>
<a name="foo1"><span>foo1</span>x</a>
<p>bar 1</p>
<a name="foo2"><span>foo2</span>x</a>
<p>bar 2</p>
<a name="foo3"><span>foo3</span>x</a>
<p>bar 3</p>
<a name="foo4"><span>foo4</span>x</a>
<p>bar 4</p>
<a name="foo5"><span>foo5</span>x</a>
<p>bar 5</p>

...and these wouldn't even be empty anchors.

-- 
Lee



More information about the thelist mailing list