vannquish
02-26-2008, 09:21 AM
Is there anyway you can control how to Alt text on an image is displayed in the browser?
|
Click to See Complete Forum and Search --> : controling alt text with css? vannquish 02-26-2008, 09:21 AM Is there anyway you can control how to Alt text on an image is displayed in the browser? WebJoel 02-26-2008, 09:30 AM I doubt that it is possible. alt="" there to assist non-image user-agents and user-agents with images turned-off, etc. Having the presentational ("css") handle that seems ...unnatural somehow. But maybe someone knows of a way(?). Why would you want css to handle alt="", anyway? (just curious). :) vannquish 02-26-2008, 09:47 AM I doubt that it is possible. alt="" there to assist non-image user-agents and user-agents with images turned-off, etc. Having the presentational ("css") handle that seems ...unnatural somehow. But maybe someone knows of a way(?). Why would you want css to handle alt="", anyway? (just curious). :) I visited a site earlier this week and when I had my pointer over the hosting company image a box appeared displaying all their info. the box was defiantly styled and I no it wasnt flash. Really bugging me know :confused: matt.ritter 02-26-2008, 09:47 AM link to the site? vannquish 02-26-2008, 10:46 AM Here is a link http://www.edg3.co.uk/ if you hover over the main logo you will see what i mean :) WebJoel 02-26-2008, 10:47 AM -Not the same as alt="", -you must be talking about a "tool tip box". This is html that is handled by CSS. Bascially, a link that contains a "<span>" that is made "display:none;" for the a:link state, and "display:block;" and positioned for the "a:hover" state. This is why it is helpful to post an example of what you are asking about. :) Google "tool tip" or "tooltip", -I am sure you'll find 100s of examples and how~to vannquish 02-26-2008, 10:48 AM Here is a link http://www.edg3.co.uk/ if you hover over the main logo you will see what i mean :) just have :) webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |