/    Sign up×
Community /Pin to ProfileBookmark

controling alt text with css?

Is there anyway you can control how to Alt text on an image is displayed in the browser?

to post a comment
CSS

6 Comments(s)

Copy linkTweet thisAlerts:
@WebJoelFeb 26.2008 — 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). ?
Copy linkTweet thisAlerts:
@baggiesmadauthorFeb 26.2008 — 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). ?[/QUOTE]



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 ?
Copy linkTweet thisAlerts:
@matt_ritterFeb 26.2008 — link to the site?
Copy linkTweet thisAlerts:
@baggiesmadauthorFeb 26.2008 — Here is a link

http://www.edg3.co.uk/

if you hover over the main logo you will see what i mean ?
Copy linkTweet thisAlerts:
@WebJoelFeb 26.2008 — -Not the same as [I]alt=""[/I], -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
Copy linkTweet thisAlerts:
@baggiesmadauthorFeb 26.2008 — Here is a link

http://www.edg3.co.uk/

if you hover over the main logo you will see what i mean ?[/QUOTE]



just have ?
×

Success!

Help @baggiesmad spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...