Menu
This is going to be an odd request but I know there is a way to change the color of the alt box and text color in the alt box of an image.
You know how when you have an image and if it’s named via the alt=”name” when you put your mouse on it there is a box. How do I change the background color and text font and color of that box?
Is it Javascript DHTML? If anyone knows the coding for it I’d greatly appreciate it.
[i]FromIn other words the value of the ALT attribute only gets displayed when the image is not displayed.[/font]http://www.w3.org/TR/html4/struct/objects.html#adef-alt [/i]
Several non-textual elements (IMG, AREA, APPLET, and INPUT) let authors specify alternate text to serve as content when the element cannot be rendered normally. Specifying alternate text assists users without graphic display terminals, users whose browsers don't support forms, visually impaired users, those who use speech synthesizers, those who have configured their graphical user agents not to display images, etc.
The alt attribute must be specified for the IMG and AREA elements. It is optional for the INPUT and APPLET elements.[/quote]
In other words the value of the ALT attribute only gets displayed when the image is not displayed.[/QUOTE]. This is incorrect. in internet explorer, if you put something in the alt tags and hover your mouse over the image, the alt text is displayed.
[i]Originally posted by jlsheets [/i]
This is going to be an odd request but I know there is a way to change the color of the alt box and text color in the alt box of an image.
[/QUOTE]
[i]Originally posted by jpmoriarty [/i]
[B]stefan,
that's doing nothing for me - does it work in the ever buggy ie? [/B][/QUOTE]
[i]Originally posted by Vladdy [/i]
[B]For custom formating of tooltips you need javascript implementation. [/B][/QUOTE]
[i]Originally posted by Stefan [/i]
[B]Um no...[B][/QUOTE]
[i]Originally posted by Vladdy [/i]
[B]If you want them to appear at the location of cursor as the default ones do - yes. [/B][/QUOTE]
[i]Originally posted by Vladdy [/i]
[B]XHTML = [b]Extensible[/b] HyperText Markup Language. So, how is not not ok to add my own attribute, huh?[/QUOTE]
[i]Originally posted by Stefan [/i]
[B]Yes, you are ALLOWED to add your own attributes INCLUDING the nessecary DTD for it.
But you are NOT doing that. You are using a stock
[/B][/QUOTE]
[i]Originally posted by Vladdy [/i]
It does work and that what counts. [/QUOTE]
[i]Originally posted by jlsheets [/i]
Ok so I need to put title="text" not use alt, ok. But now will it pop up that little box when you put your mouse over the graphic?
[/QUOTE]
0.1.9 — BETA 6.17