Mobile Friendly Website

CSSPLAY

Doing it with style

partial opacity COMMENTS

Welcome to my Comments Pages

Please note. I get a few hundred emails a week from visitors asking for help, or posing questions on how to modify my demos to suit their application and I read them all. Unfortunately I only have a limited amount of time to spend answering these questions.

So if I do not reply, please do not be offended, and if I do reply then you are one of the lucky ones.

If you are asking for permission to use any of my demonstration then please email me with your request stu{at}cssplay.co.uk.

Post a comment


Current posts

Tim:-
Stu, with the CSS method which fails in Opera, do you think it's possible to remove the opacity applied to the text? Reason being is I'm trying to have a light shade bg, yet the text it also light (too light) decreasing readability.
(09.01.2006, 22:01)

Tim:-
I've tried wrapping the text only in an <em> and setting the opacity of the em with no luck.
(09.01.2006, 22:02)

Stu:-
Tim, on my example one the text does not have any opacity. I have used two containers - one for the opacity and another for the text.
(09.01.2006, 22:28)

Tim:-
I'm using links with a opac background, within the link I tried using em div, etc.. whatever background I apply to the text element within the link, it's still opac like the links bg.
(09.01.2006, 23:25)

Stu:-
Tim, aaah... in my example I have used two separate containers (not one within another). Whatever you place within an opaque container will also be opaque. I don't know of any way round this.
(09.01.2006, 23:31)

John:-
This problem bit me too. The CSS3 spec states that while the opacity value is not inherited, it is applied to all contained elements. So if you want a transparent background, but fully opaque foreground (text), then the foreground has to be in a separate element--not nested within the background element--and positioned appropriately.

What we really need is something like background-opacity.
(07.02.2006, 16:54)

Mike Lyle:-
I have perused your site for many months, Stu, I am so impressed with your diligence to detail, changing and going back over things to make them better! If you aren't yet a Christian, you should be! We need people like you to lead people like me!
michaelaaronlyle@netscape.net
(19.03.2006, 03:06)

DeadMeatGF:-
Checking this out in IE7 beta, looks like they're all working as designed from here :)
(20.03.2006, 12:19)

Niddhogg:-
All correct in Opera 9 TP, build 8333. :)
(31.03.2006, 23:48)

9 of 19 comments (part 2). [ « ] [ * ]



Post

Your comment:

Your Name:

Stu's First Name - 3 letters (required)

Thanks to Alex for this script.

Please enter your comments for this site page.
Please note that all posts are moderated.

Posting rules

HTML is turned off
Maximum word length is 80 characters.
Messages limited to 1200 characters.
Web links should not include 'http://'

Support CSSPLAY

Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.


CUSTOM SEARCH

Facebook Twitter rss feed Facebook Fan Page