Solved

Help with CSS 3.0 w3 validation

Posted on 2008-06-17
2
368 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 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

Industry Leaders: 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!

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

733 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