epox 0 Report post Posted August 31, 2005 recently i have seen sites with a cool background and above a div or table with a nice transparency, my question is, how do i make that? Share this post Link to post Share on other sites
palladin 0 Report post Posted August 31, 2005 (edited) In CSS Style: background: transparent; In FORM:<input name="txt" type="text" id="txt" value="This is text on transparent text box" style="background: transparent;"> And thats all i got problem with find this too, some time ago. Notice from cmatcmextra: Use html tags for html and code tags for other code. Added code and html bbcode tags Edited August 31, 2005 by cmatcmextra (see edit history) Share this post Link to post Share on other sites
mayank 2 Report post Posted August 31, 2005 hey thankyou buddy!Even I am working on my sites design right now and I was looking for something like this only.....thanks a lot! Share this post Link to post Share on other sites
littleweseth 0 Report post Posted August 31, 2005 see the complexspiral demos at css/edge ( http://meyerweb.com/eric/css/edge/ ) for great justice. IF you thought you'd seen transparent backgrounds....Incidentally, i've never ever seen the 'transparent' property - i had to look it up. In any case, are you sure it's what you want? It shows the background of the body element as close as i can determine, or whatever it is. Share this post Link to post Share on other sites
epox 0 Report post Posted August 31, 2005 thanks, helpful, but yesterday i fotgot to ask if i can control the alpha channel, and the color of the transparency, thanks! Share this post Link to post Share on other sites
beeseven 0 Report post Posted August 31, 2005 It is possible to control the alpha channel, but I'm not sure about the color.In the part where you make the thing that you want to be transparent, add "opacity: .90;" or however transparent you want it. It works like a percent, .00 is not opaque, 1.00 is completely opaque, .50 is half, etc.I don't think that it's technically valid CSS, though. I believe that it will be in CSS3 (whenever that comes out). There are also some other filters that you can use which are described at http://forums.xisto.com/no_longer_exists/ (including alpha, I'm not sure if that's better than opacity:). Share this post Link to post Share on other sites
Tyssen 0 Report post Posted September 1, 2005 thanks, helpful, but yesterday i fotgot to ask if i can control the alpha channel, and the color of the transparency, thanks!Yes you can but it doesn't work in Opera: CSS opacity and transparency. Share this post Link to post Share on other sites
mizako 0 Report post Posted September 2, 2005 Thanks for the page: http://meyerweb.com/eric/css/ It has some awesome examples about css. Share this post Link to post Share on other sites
Lozbo 0 Report post Posted September 6, 2005 In the part where you make the thing that you want to be transparent, add "opacity: .90;" or however transparent you want it. 180887[/snapback] I found the exact way to apply this was: filter: alpha(opacity=50); Dont know which browsers accept this though... Share this post Link to post Share on other sites