Accessibility

CSS Advisor

Safari propogates opacity to higher elements on the page

by amanwithapencil on December 15, 2006
Edited by: sfegette on November 29, 2009
Avg Rating 3.0 (3)   |   Log in to rate post.

Tagged with opacity , Safari 1.0

Problem

When setting the opacity of elements on the page, the opacity value is inherited by elements lying higher in the stack order.

Solution

Set the opacity of elements higher in the stacking order to 0.99.

Detailed description

If you set the opacity of page elements to a number other than 1 (the default), this opacity is inherited by other elements higher in the stacking order (i.e. above the affected element.) Setting the opacity of these elements to 1 does not override this effect, since Safari does not recognise 1 as a setting (it's the default.)

Instead, setting the opacity of these elements to 0.99 does override the bug. This value is close enough to 1 to fool the eye, but is different enough from the default for Safari to recognise that a new value has been applied.

This bug was fixed in Safari version 1.2 and greater.




Tagged with opacity , Safari 1.0

Tag it on del.icio.us or Digg

Text ID: SAFARI_PROPOGATES_OPACITY_TO_HIGHER_ELEMENTS_ON_THE_PAGE



Comments (0)

To add a comment, please Log in.








CSS Advisor home
Submit a post

rss

CSS ADVISOR RSS FEEDS
Recent: POSTS | COMMENTS | EDITS


Browsers
Internet Explorer (45)
Mozilla/Firefox (16)
Opera (7)
Safari (13)
CSS Properties
Background (6)
Border (3)
Color (1)
Float (15)
Font (1)
Margin (6)
Padding (4)
Position (15)
Text (13)
Width/Height (9)