I'm looking for the following: on a web page i saw how a number of
techniques for using background images on links. There was one
technique where you would also insert a span element with descriptive
text, which was to be shown *under* the link when images were turned of
in the browser. I remember (or at least thinks so) that z-index was
used to position the span below the link. Can anyone point me to this
technique please?
Thanks in advance and best regards
stef
Well, that's kind of counter productive, isn't it, considering there is
a well known attribute that is required and displays when images are not
available.
<p><a href="http://example.com" title="Visit Example"><img
src="example.png" alt="Example image" height="height" width="width"></a>
</p>
Can you guess which one it is?
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
> Gazing into my crystal ball I observed stef <stephan...@pandora.be>
> writing in news:020820092120171086%stephan...@pandora.be:
>
> > Hi everybody
> >
> > I'm looking for the following: on a web page i saw how a number of
> > techniques for using background images on links. There was one
> > technique where you would also insert a span element with descriptive
> > text, which was to be shown *under* the link when images were turned
> of
> > in the browser. I remember (or at least thinks so) that z-index was
> > used to position the span below the link. Can anyone point me to this
> > technique please?
> >
> > Thanks in advance and best regards
> >
> > stef
> >
>
> Well, that's kind of counter productive, isn't it, considering there is
> a well known attribute that is required and displays when images are not
> available.
>
> <p><a href="http://example.com" title="Visit Example"><img
> src="example.png" alt="Example image" height="height" width="width"></a>
> </p>
>
> Can you guess which one it is?
background-image, not image
> In article <Xns9C5B8A014A13...@188.40.43.213>,
> Adrienne Boswell <arb...@yahoo.com> wrote:
>
> > Gazing into my crystal ball I observed stef <stephan...@pandora.be>
> > writing in news:020820092120171086%stephan...@pandora.be:
> >
> > > I'm looking for the following: on a web page i saw how a number of
> > > techniques for using background images on links. There was one
> > > technique where you would also insert a span element with descriptive
> > > text, which was to be shown *under* the link when images were turned
> > of
> > > in the browser. I remember (or at least thinks so) that z-index was
> > > used to position the span below the link. Can anyone point me to this
> > > technique please?
> > >
> > Well, that's kind of counter productive, isn't it, considering there is
> > a well known attribute that is required and displays when images are not
> > available.
> >
> > <p><a href="http://example.com" title="Visit Example"><img
> > src="example.png" alt="Example image" height="height" width="width"></a>
> > </p>
> >
> > Can you guess which one it is?
>
> background-image, not image
You want a text link?
1. That has a background image?
2. That shows some text of your choosing when the image is not there?
3. Text that is different to the text of the link that is already there?
4. Text that is the same as the text that is already there but that is,
God willing, exactly congruent and in position over or under the text
already there?
5. Text that is the same as the text that is already there but is
spatially apart from the text already there and so repeats?
You have no actual text link, it is an image in an anchor element but
you want
1. A background image behind this image?
2. Some text to appear if all images are not available?
3. This text is to be a substitute for the link, the image link is self
explanatory when available, there is alt text but this is not wanted.
4. You don't like alt text, something traumatic happened in a meeting
with alt text once and it is private and you do not wish to discuss it
publicly?
5. You are quite happy with alt text as far as it goes but that is not
very far and you want longer alt text and want to explore "longdesc"?
I better stop, I just wanted to offer some moral support to Adrienne
before I go watch: The Chase (Marlon Brando, Jane Fonda, Robert Redford)
for the first time...
--
dorayme