Previous Message
Next Message

Image Replacement - IE z-index problem

Sent by Martin Petrov on 16 September 2005 03:03


Yes it's still there for screen readers, but it is not visible :(

I saw how they use images for text on sites such as opera.com and
happycog.com. They put them as simple <img>....

Please, check my code. Rading about z-index on w3.org is pretty hard
to me. Why Opera and Firefox put the text under the background, but
not IE?

Thanks


On 9/15/05, Scot Schlinger [EMAIL-REMOVED]> wrote:
> Martin,
>  
>  I was looking at some old stuff I had made notes on and noticed another way
> of removing (can't remember what site, probably ala).
>  
>  #someID {
>      position: absolute;
>      top: -3000px;
>      left: -3000px;
>  }
>  
>  In essence I believe the text is still "there" (especially for screen
> readers) but will not be on the page.  Which I guess still doesn't solve
> your problem :(
>  
>    Another route would be to not make the image a background and use the alt
> attribute of the image to hold that text.
>  
>  I hope that helps,
>  Scot
> 
> 
> On 9/15/05, Martin Petrov [EMAIL-REMOVED]> wrote:
> > Thank you Scot, but if you hide the text wrapped between <strong> with
> > "display:none" then it doesn't appear when you browse with images
> > turned off.
> > 
> > Now with " z-index: -1" the text stays under the background of 
> > #Content, but if you turn the images off then it is visible because
> > the background is off too. I just wondered why IE doesn't behave the
> > same way with "z-index: -1" as Opera and Firefox do.
> > 
> > 
> > On 9/15/05, Scot Schlinger [EMAIL-REMOVED]> wrote:
> > > Martin
> > >
> > >  I don't know if this is what you want, but I changed display: block to
> > > display: none in #Download-dreamweaver strong and it works in ie. 
> > >
> > >  I hope that helps,
> > >  Scot
> > 
> 
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: