Valid opacity (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


thatguy -> Valid opacity (6/28/2005 12:22:44)

I am using the opacity (-moz-opacity & filer:alpha(opacity)) on my website but this is not validating against the W3C standards. Is there a valid way to do the same thing?




Tailslide -> RE: Valid opacity (6/28/2005 12:54:21)

Can you show us or describe what you were using the opacity on?

There are ways to make things look more transparent like this: http://www.wannabegirl.org/translucent/
that will validate - but obviously it depends what effect you're trying to achieve in the first place.

It may be that you have to live with it not validating.




thatguy -> RE: Valid opacity (6/28/2005 14:02:47)

Well here is the link - http://www.airspecialties.com/LuxuryComfort/index.htm




Tailslide -> RE: Valid opacity (6/28/2005 16:34:24)

Ok - well I think you have 3 options:

1. Leave it as it is and live with the validation failure.
2. Stick a transparent box onto the background image in Photoshop or whateverin the exact right place so that the text aligns on it as you want.
3. Create one of those white dot boxes as per the link in my last message- then create a div around the code for the box in your HTML and stick the image in the CSS as a background image.

BTW - you should check out your site on Firefox as the Benefits on the features and benefits page is running off the edge of the container.




thatguy -> RE: Valid opacity (6/29/2005 10:02:12)

I think I'll just live with it but I thought I'd check if there was an easy way. Is this going to be supported soon?

BTW, I fixed the features & benefits. It wasn't just firefox, I created a new class on my external CSS to get a page up to strict standards and I accidentally gave the class the same name as one I already had.




Tailslide -> RE: Valid opacity (6/29/2005 11:14:02)

quote:

ORIGINAL: thatguy

I think I'll just live with it but I thought I'd check if there was an easy way. Is this going to be supported soon?

BTW, I fixed the features & benefits. It wasn't just firefox, I created a new class on my external CSS to get a page up to strict standards and I accidentally gave the class the same name as one I already had.


Easily done!

I believe there's something in CSS3 about Opacity - but I've yet to hear what the support will be cross-browser.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125