Solved

Help with CSS 3.0 w3 validation

Posted on 2008-06-17
2
367 Views
Last Modified: 2010-08-05
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
Comment
Question by:GrimReeper
2 Comments
 
LVL 42

Accepted Solution

by:
David S. earned 500 total points
ID: 21801212
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
 
LVL 5

Author Closing Comment

by:GrimReeper
ID: 31467875
Sweet
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn how to count occurrences of each item in an array.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question