You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@incubator.apache.org by "Sebb (Updated) (JIRA)" <ji...@apache.org> on 2011/10/11 23:09:12 UTC

[jira] [Updated] (INCUBATOR-117) Bootstrap CSS messes up display of internal link definitions

     [ https://issues.apache.org/jira/browse/INCUBATOR-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated INCUBATOR-117:
---------------------------

    Attachment: INCUBATOR-117.patch

Patch for site.vsl
                
> Bootstrap CSS messes up display of <a name> internal link definitions
> ---------------------------------------------------------------------
>
>                 Key: INCUBATOR-117
>                 URL: https://issues.apache.org/jira/browse/INCUBATOR-117
>             Project: Incubator
>          Issue Type: Bug
>          Components: site
>         Environment: http://mail-archives.apache.org/mod_mbox/incubator-general/201110.mbox/%3CCAOGo0VbK1Cdqd=bX-cS1rdxXxJ6ANdZaLrLu7ZWX1e6zbpgJXg@mail.gmail.com%3E
>            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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org