[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



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.

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.

--
\\//
Peter - http://www.softwolves.pp.se/
  I do not read or respond to mail with HTML attachments.



Reply to: