|
| |
|
|
Giomanach
Posts: 6112 Joined: 11/19/2003 From: England Status: offline
|
CSS Transparecies - 1/21/2005 15:01:33
Only me... Anyone know of any CSS for transparencies that will work with Opera? I've already tried the following: color: rgba(0,0,255,0.5) Source: http://www.webreference.com/programming/css_color/part2/index.html opacity: .5;
filter: alpha(opacity=50); Source: http://www.quirksmode.org/css/opacity.html -moz-opacity: .5; And none work in Opera. Or do I have to go through the hassle of trying to make a translucent gif? TIA Dan
_____________________________
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: CSS Transparecies - 1/21/2005 15:43:05
Dan someone posted a link to opaque things with css, try a google search on this. I think it might be the same thing that you are trying for? Not sure, I have not worked with this yet, and I forget who posted the link to the site with the information.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
Giomanach
Posts: 6112 Joined: 11/19/2003 From: England Status: offline
|
RE: CSS Transparecies - 1/21/2005 17:41:35
Deb - I've already googled, and it doesn't give me anything different....
_____________________________
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: CSS Transparecies - 1/21/2005 17:51:48
Sorry I can't help you on this one, In one of the courses they did go over opagnes sp? if I get time I'll look it up and see if there are any links for you to check into.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
Suzy.
Posts: 9 Joined: 12/2/2004 Status: offline
|
RE: CSS Transparecies - 1/23/2005 6:30:51
Opera does not support it.. you're correct It does however support variable opacity .pngs. Which you knew so the only thing I can suggest it to use one of them and then use a filter for IE inside a conditional comment ( or some other IE workaround ) to achieve the same effect for it. See this link for more There is also a problem with links inside a div done this way with IE/Win but the problem can be solved by changing the size of the image, that article says, but when I tested it with the image from this page it didn't work for me in IE6 even with the 2x10 image. However I changed the z-index of the links within a div and it then seemed to work fine. I didn't check different sized pngs so suggest if you use it you try both workarounds? If you copy the 75p_white.png from that page {background of top two divs} works with this test code:
body {background: #000;}
.opaque {
width: 200px;
height: 100px;
border: 1px solid #ffcf00;
background: url(75p_white.png);
}
/* or put in a conditional comment */
* html .opaque {
background: transparent;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='75p_white.png');
}
.opaque a {position: relative; z-index: 100;}
a {color: #f00;}
a:hover {color: #00f; text-decoration: none;}
HTML: <div class="opaque"><a href="#">test link</a></div> You probably saw all this too in your searching, but I thought I'd put it here just in case..
|
|
|
|
d a v e
Posts: 4136 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: CSS Transparecies - 1/23/2005 8:53:55
you can also use a 2px sqaure gif in a checked pattern alternating between 1 white square and 1 transparent (like a chess board) and use that as a background image for a div then lay that layer over another thing. gives the illusion of transparency
_____________________________
David Prescott Gekko web design
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|