Welcome to WebmasterWorld Guest from 54.161.21.157

Forum Moderators: incrediBILL

Message Too Old, No Replies

Firefox changes alt text size

I never knew that before

     
6:11 am on Jul 5, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 21, 2002
posts:977
votes: 0


Someone just showed me that Firefox changes alt text size (when viewing with alt instead of images). In IE all alt text on a page is the same size, a standard size determined by the browser/OS. But in Firefox the alt text is displayed in whatever font size is current for that bit of the page. Firefox also expands image "boxes" to fit all the alt text, whereas IE will keep the boxes at the specified image width and height, cutting off any text that is too long to fit.

The result? Firefox can cause unexpected horizontal scrolling when pages are viewed with alt instead of images (but at least all of the text is there!).

Learn something new every day :)

11:40 am on July 5, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 11, 2003
posts:955
votes: 0


ah, nice find :)

Which reminds me to change the alt tag from "" to "atleast something" on my website ;)

Sid

10:57 pm on July 5, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 21, 2002
posts:977
votes: 0


...but only on graphics that convey actual content. All spacer and interface graphics should be left as alt="". ;)