• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

Help with CSS 3.0 w3 validation

As the title suggests I having problem getting my CSS code to pass validation. I got 2 lines they are causing me trouble. I don't care how they are changed but I need the functionality to remain if possible.
opacity="80";
 
filter:alpha(opacity=80);

Open in new window

0
GrimReeper
Asked:
GrimReeper
1 Solution
 
David S.Commented:
Change

opacity="80";

to

opacity: .80;

filter is a proprietary IE/Win property and will never pass validation. However, you could put it in an IE specific stylesheet and use conditional comments to hide that stylesheet from the validator and browsers other than IE/Win.
http://www.sitepoint.com/forums/showpost.php?p=3177192
0
 
GrimReeperAuthor Commented:
Sweet
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now