[ 
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-cs1rdxxxj6andzalrlu7zwx1e6zbpg...@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-unsubscr...@incubator.apache.org
For additional commands, e-mail: general-h...@incubator.apache.org

Reply via email to