incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Created) (JIRA)" <>
Subject [jira] [Created] (INCUBATOR-117) Bootstrap CSS messes up display of <a name> internal link definitions
Date Tue, 11 Oct 2011 21:09:12 GMT
Bootstrap CSS messes up display of <a name> internal link definitions

                 Key: INCUBATOR-117
             Project: Incubator
          Issue Type: Bug
          Components: site
            Reporter: Sebb
         Attachments: INCUBATOR-117.patch

[This is to document the fix applied, and a further possible solution]

The new Bootstrap 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.

One possible solution to this (thanks Francis!) is to use a Selector, i.e. a[href] to limit
the underline changes.
However this may not be supported by all browsers.

Another is to use

h2 a, h3 a, h4 a, h5 a {
 text-decoration: none;
 color: black;

This would affect real links in headers, but Incubator does not use them.

It would also be possible to change the Anakia stylesheet to use

<h3 id='incubator'>1. Incubation</h3>

rather than:

<h3><a name="incubator">1. Incubation</a></h3>

This is arguably how the links should have been generated originally.
However this would generate a lot of changes.
Also, it would not stop problems with <a name> tags appearing in the XML source.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message