Re: Odd rendering of hyperlinks in Working Draft 2008-05-11 on IE 7

"Oren Ben-Kiki" <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
This is intentional. The spec is full of these links, to index
entries, and having them all underlined proved to be very distracting
(yes, people complained :-). They should become fully underlined when
the mouse hovers over them.

This is done by the following CSS voodoo:

a[href^="#"] {
background:transparent url(term.png) no-repeat scroll right bottom;
color:black;
text-decoration:none;
}
a[href^="#"]:hover, div.indexdiv a, div.toc a {
background:transparent none repeat scroll 0%;
color:blue;
text-decoration:underline;
}

Have fun,

    Oren Ben-Kiki

On Wed, May 21, 2008 at 1:16 PM, Burt Harris <[email protected]> wrote:
> Hello again.   Reviewing the 1.2 working draft I can see it made some great
> progress.   Thank you for all your effort.
>
>
>
> I notice that the HTML version of this draft is rendering strangely.   It
> appears that for some (but not all) of the hyperlinks, only the last
> character is getting shown with a blue underline.   The first example is the
> word "applications" near the end of Chapter 1's first paragraph, on my
> screen it renders with just the "s" underlined.    Comparing against the 1.1
> HTML version, it seems to be related to the addition of a class="link"
> property in the HTML <A> tag.  I don't find this style listed in the
> corresponding single_html.css.
>
>
>
> I'm using Internet Explorer 7.0.5730.11.  If you think this is an IE
> rendering problem, I can find someone to investigate, though I thought I'd
> ask about the style change here first.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.