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

Bug#308988: bad usage of anchor tags leads to ugly css hover effects



On 5/18/05, Peter Karlsson <peter@softwolves.pp.se> wrote:

> Andreas Wuest:
> 
> >>> <h2><a name="intro" id="intro"/>Introduction</h2>
> >> Beside that a-tags are closed by </a> in html.
> > It is closed! It is a so called 'empty element'
> 
> Debian's pages are HTML, not XHTML. You can't have empty elements in HTML,
> you need to close them properly.

Ok, ok, you and Jutta are right, I give in... ;) Empty elements are
only a feature of xhtml, sorry, forgot about that.

> > I don't know if this is the prettiest solution though. I would really
> > prefer the soultion using [href] attribute matching, since this only
> > matches hypertext links.
> 
> :link and :visited also only matches links, and doesn't depend on them being
> A elements.

That's a point, of course!

Thanks anyway!!

-- 
Kind regards,
Andi



Reply to: