incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis De Brabandere <franci...@gmail.com>
Subject Re: New bootstrap CSS messes up display of all internal name definitions
Date Tue, 11 Oct 2011 19:59:16 GMT
Should be possible as described here:
http://www.w3.org/TR/CSS2/selector.html#attribute-selectors

not sure on browser compatibility though

On Tue, Oct 11, 2011 at 9:50 PM, sebb <sebbaz@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> ?
>
> [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-unsubscribe@incubator.apache.org
> For additional commands, e-mail: general-help@incubator.apache.org
>
>



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

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


Mime
View raw message