W3C CSS validation gives "Parse Error" for opacity -
while testing css stylesheet personal website, following parse errors appeared opacity properties. why this? isn't opacity=70 perfect property filter alpha ie8 support?
.image-section #sliderleft parse error opacity=70) .image-section #sliderright parse error opacity=70) .image-section #caption parse error [empty string] here css code in error appears :
.image-section #caption { position: absolute; display: none; bottom: 4px; width: 100%; text-align: center; color: white; background: #474747; height: 50px; line-height: 50px; opacity: 0.8; font-size: 20px; } .image-section #sliderleft { position: absolute; display: none; width: 25px; height: 100px; top: 50%; margin-top: -25px; left: 0; opacity: 0.7; filter: alpha(opacity=70); border: 0; } .image-section #sliderright { position: absolute; display: none; width: 25px; height: 100px; top: 50%; margin-top: -25px; right: 0; opacity: 0.7; filter: alpha(opacity=70); border: 0; }
w3c uses parsing engine not allow syntax alpha(opacity=70). there no css property in standard allow such definition format.
i cannot reproduce
parse error [empty string]
in .image-section #caption using
Comments
Post a Comment