| | 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? |
|
|
CODE background: transparent; In FORM: HTML <input name="txt" type="text" id="txt" value="This is text on transparent text box" style="background: transparent;"> And thats all
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!
see the complexspiral demos at css/edge ( www.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.
thanks, helpful, but yesterday i fotgot to ask if i can control the alpha channel, and the color of the transparency, thanks!
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://www.w3schools.com/dhtml/dhtml_css.asp (including alpha, I'm not sure if that's better than opacity:). QUOTE(epox @ Sep 1 2005, 03:16 AM) 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.
Thanks for the page: http://www.meyerweb.com/eric/css/ It has some awesome examples about css.
QUOTE(beeseven @ Aug 31 2005, 03:43 PM) In the part where you make the thing that you want to be transparent, add "opacity: .90;" or however transparent you want it. I found the exact way to apply this was: CODE filter: alpha(opacity=50); Dont know which browsers accept this though...
Recent Queries:-
Keywords : css transparencies
|
|
![]() Css Transparencies - how do i do? |
| ADD REPLY / Got an Opinion! | Remove these ADs! | RAPID SEARCH! | Free Web Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|