Posted by Jonathan N. Little on 10/31/07 15:11
sturm wrote:
> Jonathan N. Little wrote:
>> Harlan Messinger wrote:
>>
>>> The solution is to take the ID off the DIV and stick it in the anchor:
>>>
>>> <div><a id="top" name="top"></a></div>
>>
>> Or better yet delete the superfluous empty DIV and empty A and
^^^^^^^^^^^^
>
> The page will not validate if the <a id="top" name="top"></a> is not
> nested within a div :-( I tried that already. Seems as HTML-strict will
> not tolerate a structure like <body> -> <a>
Of course not and inline element must be in a block element. I said
delete both.
>
>>
>> <!-- REMOVE: <div id="top"><a name="top"></a></div> -->
>>
See I show it *all* commented out
>> <div id="accessibility"> ...
>>
>> And either change following DIV's to "top" or change your "to top"
>> links' hrefs to "#accessibility".
>>
>
> But then they wouldn't be working as #accessibility is not designed to
> be shown on a visual UA.
Then pick something at the top of the page that *is* shown on the visual UA:
<div id="outer">
....
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|