Welcome to WebmasterWorld Guest from 107.20.34.173

Forum Moderators: incrediBILL

Message Too Old, No Replies

Firefox truncating text in "title" attribute

Is there a way to stop Firefox from trimming my titles?

     

jetnovo

10:33 pm on Dec 20, 2004 (gmt 0)

10+ Year Member



I'm making a site that has a large map.gif image with labels of geographical features on the map.

My intention is that when someone mouses over one of the labels on the map, a title will appear giving brief information about that location.

Eg:


<area shape="rect" coords="178,12,252,27" alt="Farewell Spit: Largest natural sand bar in the world and loads of migrant birds coming from as far north as Siberia. " title="Farewell Spit: Largest natural sand bar in the world and loads of migrant birds coming from as far north as Siberia. ">

Although Internet Explorer 6.0 displays the titles perfectly, Firefox 1.0 truncates them after roughly 60 characters. In the above example, it displays the title as: "Farewell Spit: Largest natural sand bar in the world and loads of migrant birds coming f..." - obviously "f..." is not an ideal truncation!

Is there a way to stop Firefox doing this? As far as I can see at W3C.org there is no official limit to the size of a title.

Zeolite

3:00 am on Dec 21, 2004 (gmt 0)

10+ Year Member



This is a known bug in Firefox and Mozilla, over four years old. I wouldn't hold my breath on a fix.

There is a less-than-simple workaround you can use on your own Firefox installation, but that won't help you as a website author.

StupidScript

4:13 am on Dec 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So far, so good, Zeolite. Welcome to WebmasterWorld!

Looking forward ...

 

Featured Threads

Hot Threads This Week

Hot Threads This Month