On 11 October 2011 21:40, Christian Grobmeier <grobme...@gmail.com> wrote: > On Tue, Oct 11, 2011 at 9:50 PM, sebb <seb...@gmail.com> wrote: >> The new CSS changes the default setting for links, by removing >> underlines unless the mouse hovers over the link. >> >> However, this has broken all the internal name definitions. >> These now look like links - they are blue, and get underlined when hovered >> over. >> >> See for example [1] where the table headings are blue (they should be black). >> But just about every file also has similar headings that are now broken. >> >> I've no idea whether it is possible for CSS to distinguish between <a >> href="#xxx"> and <a name="xyz">. >> >> One way to fix this would be to change the site generation Anakia >> stylesheet to use: >> >> <h3 id='incubator'> >> 1. Incubation >> </h3> >> >> rather than: >> >> <h3> >> <a name="incubator">1. Incubation</a> >> </h3> >> >> However, this will affect nearly every single html file, so before I >> commit this change and flood the commits list with e-mails, is there a >> CSS-expert who can confirm whether or not it's possible to change the >> behaviour of <a href> without affecting <a name> ? > > Is there any reason why we should not format: > h2 a { > text-decoration: none; > color: black; > }
Would need to be applied to <h3> etc as well. It would also hide links in headings (if there are any) >> >> [I realise that the name attribute is deprecated, but the id attribute >> behaves exactly the same.] >> >> [1] http://incubator.apache.org/projects/index.html >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org >> For additional commands, e-mail: general-h...@incubator.apache.org >> >> > > > > -- > http://www.grobmeier.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org > For additional commands, e-mail: general-h...@incubator.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org For additional commands, e-mail: general-h...@incubator.apache.org