3 replies [Last post]
thiruraaja
thiruraaja's picture
Offline
newbie
Last seen: 4 years 27 weeks ago
Timezone: GMT+5.5
Joined: 2011-11-29
Posts: 9
Points: 13

i have one issue for cass validate

Parse Error opacity=20)
how to fix this issue

thiruraaja
thiruraaja's picture
Offline
newbie
Last seen: 4 years 27 weeks ago
Timezone: GMT+5.5
Joined: 2011-11-29
Posts: 9
Points: 13

thiruraaja wrote: i have one

thiruraaja wrote:

i have one issue for css validate

Parse Error opacity=20)
how to fix this issue

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 42 min 2 sec ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9583
Points: 3649

Values for opacity range from

Values for opacity range from 0 to 1. To cover for older IE versions, you'd use

.faded {
    filter: alpha(opacity=20);
    opacity: 0.2;
    }
The first line will not validate, of course, because it's proprietary.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

thiruraaja
thiruraaja's picture
Offline
newbie
Last seen: 4 years 27 weeks ago
Timezone: GMT+5.5
Joined: 2011-11-29
Posts: 9
Points: 13

css validate

thanks for ue reply