![]() |
| More CSS Help Please - Opacity |
|
Josh
Forum Regular
|
Hey... Bobum'll prolly answer this
http://jimcamarata.net/new/index.aspx http://jimcamarata.net/new/_standard.css That page... the little content blocks... I want the BACKGROUND transparent, like it is, but I want the letters to be fully opaque - so you can't see thru them. I want them to stand out. I haven't been able to accomplish this. Any ideas? Thanks!!! |
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
It's probably not working the way you want it to work right now because of the very nature of CSS - the 70% alpha that you have is going to override anything you have that is below it...lemme has this one out a bit...
Opacity is not inherited but is does affect the display of child elements... |
||||||||||||
|
Last edited by bobum on Tue Jan 18, 2005 3:47 am; edited 1 time in total |
|||||||||||||
|
Josh
Forum Regular
|
I figured I'd try... although I came to the same conclusion. I tried to "override" the styles, but with no luck. I appreciate you looking into this.
I *LOVE* the power of CSS... it's been alot of fun since you and Dave really pushed me over the edge with it. Now I just wish I had a -tad- more control lol... |
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
What you need to do is make the background image of the outer block semi-transparent - a PNG will work (but of course - not in IE)
THen make the background color of the <p> solid - it works very nicely and looks really good. Make your CSS look like this....
Here's a hack to make IE display the PNG properly http://homepage.ntlworld.com/bobosola/pnghowto.htm |
||||||||||||||
|
|
|||||||||||||||
|
Josh
Forum Regular
|
Actually, the PNG will display correctly for IE... I'm using IE7 on that site (http://dean.edwards.name/IE7/)
I was thinking about that this morning, and you just confirmed what I haven't had a chance to look into yet. Thanks!!! Collaboration is one of the most powerful tools around |
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
awwweee darnit!!! Transparent PNG support is only for PNG's residing in an IMG tag... it doesn't work for background images... *bangs head*
Other than IE it works great LOL!!! |
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
hehehe - told ya...and besides - YOU may be using IE7 on that site - but *I* may not be using IE7 on that site...and you of course need to consder that...glad it's working though...what a PITA that one was...but I learned somehting so that makes it all worth it.
|
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
But that's the beauty of IE7... you don't have to do anything... it's a javascript include that "fixes" everything wrong with IE... and it does it w/o you knowing about it.
|
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
Oh os thie "IE7" isn't REALLY IE7 - correct? Meaning it's a third part set of Javascripts that fix IE on the pages you are serving rather than actaully fixing the browser right? Didn't you post that somewhere else on another thread?
|
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
Yep... this is my first real-world implementation and it's gone REALLY REALLY well...
http://dean.edwards.name/IE7/ http://jimcamarata.net/new/index.aspx Whe I was saying IE7 I was giving links to the developers website... it's just a series of JS files that make IE CSS compliant. It's been WONDERFUL so far... apparently he fixed the box model problem and many other things. And it validates!!! it's a pretty pretty and very nifty hack. I like people like the developer of this software... they realize that there's a problem, and people will continue to use problematic software, so instead of just ditching (which is unacceptable) the nasty software and instead of waiting for the softwares maker to fix it he figures out how to fix the **** thing himself. He's my savior. |
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
if your using it now at Jim Camarata's page - which it looks like you are - it's not working on my box when I try using IE.
I'm using IE6 and it's not showing the transparency. |
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
Try it now... i was tweaking today lol
|
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
ya **** hacker! haha
this ? just came up on the w3c list, i'll see if i can find it |
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
this email just came throught the list, kinda a good point
|
|||||||||||||
|
|
||||||||||||||
|
loftboy
Forum Regular
|
maybe this will help
the question
the answer
|
||||||||||||||
|
|
|||||||||||||||
| More CSS Help Please - Opacity |
|
||
|



