RE: Re: anchor name on URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Ashley Sheridan [mailto:ash@xxxxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, November 18, 2008 2:34 PM
> To: Stan
> Cc: php-general@xxxxxxxxxxxxx
> Subject: Re:  Re: anchor name on URL
> 
> On Tue, 2008-11-18 at 14:21 -0600, Stan wrote:
> > Well ... you got me thinking ...
> >
> > I moved the placement of the named anchor to inside the first <td>
> tag in
> > the row and it works (instead of inside the <tr> tag.
> >
> > Sorry.
> >
> >
> >
> Ah, it seems that the doctype might have been to blame then, as an <a>
> tag cannot exist within a <tr> unless it is in a <td> or <th>. If in
> doubt, run your page through the W3C Validator, as it's a great help
in
> catching bugs.

I also think it's worth mentioning that the XHTML standard will refer to
the "id" attribute, not the "name" attribute, when searching for a link
in the format "#identifier". Many people double-up (putting the same
value in both attributes) for backwards-compatibility. I look forward to
the day when markup isn't so bloated due to the inability of certain web
browser franchises to "get it right."


// Todd

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux