?
Solved

Help with CSS 3.0 w3 validation

Posted on 2008-06-17
2
Medium Priority
?
373 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 42

Accepted Solution

by:
David S. earned 2000 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

762 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