OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] <link linkend> in XHTML output

> -----Original Message-----
> From: andy.m.smith@gmail.com [mailto:andy.m.smith@gmail.com] 
> On Behalf Of Andy Smith
> Sent: Thursday, October 02, 2008 11:25 PM
> To: DocBook Apps
> Subject: Re: [docbook-apps] <link linkend> in XHTML output
> 2008/10/2 David Cramer <dcramer@motive.com>:
> > You may also be able to get around the problem using 
> a[href]{} in your 
> > css instead of just a{}:
> > http://article.gmane.org/gmane.text.docbook.apps/19015/
> Using "a:link" and "a:visited" (or just ":link" and 
> ":visited") has the same effect as "a[href]" but is more 
> widely supported. The ":link"
> and ":visited" pseudo-classes are part of CSS1 and as far as 
> I know all CSS browsers support them. Attribute selectors 
> like "[href]" were introduced in CSS2 and, as the message you 
> linked says, aren't supported by old versions of Internet 
> Explorer and various other browsers.
> I forgot to mention in my previous message that if you want 
> to style all links you need to use both ":link" and 
> ":visited" - ":link" only affects unvisited links.

Ok, so I guess the only problem left is a:hover. If the content contains
<a name="foo"/>, then all the text after anchor gets the styling from
the a:hover. Or is there a way to make a:hover affect only links? But
this would only affect people who have to use a:hover and xhtml
together. If they can use the html output of the xsls, there's no


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]