PDA

View Full Version : weird characters in titles of links (when hovering with mouse)


Mat
15th April 2005, 01:46 PM
Hi,


I'm using Firefox 1.0 on FC2 and ofen when I hover over a link, I see some strange characters in them. (see attachment)

from the HTML code, it seems it happens whenever there is a new-line inside that attribute
e.g.


<a href="..." title="this is a
title">Link</a>


the character would than appear right before the word 'title'



Mat

Jman
21st April 2005, 04:59 AM
The html specs say those title attributes should be a character sequence ignoring line feeds (http://www.w3.org/TR/html401/types.html#type-cdata). Any newlines are printed out, and as they are non printable characters, they look funny.

Note that Internet Explorer ignores this and renders line feeds in their title tooltips.

Every hover over a thread on FedoraForum with a new line does this, and it drives me nuts.