DevelopPHP
home gear home donate
Search Results For
in:

Libraries book

HTML Library CSS Library JavaScript Library PHP Library

Videosbook

PHP and MySQL JavaScript HTML and CSS Vector and 3D Flash Actionscript Android Dev Miscellaneous

Resourcesbook

Website Hosting Developer Q+A
<iframe width="560" height="315" src="http://www.youtube.com/embed/g8S5npVrxhs" frameborder="0" allowfullscreen></iframe>
You can embed this video on your blog or web page by copying the video embed code above and pasting it into the source code of your page. Adjust the width and height to specify the size you would like it to display.
Thumb How to Render Transparent Web Site Elements CSS Opacity Tutorial
Embed Source - http://www.youtube.com/watch?v=g8S5npVrxhs
Publish Date - Oct 16, 2010     Author - Adam Khoury
How to Render Transparent Web Site Elements CSS Opacity Tutorial
Learn how to make your web page elements expose your cool backgrounds and add a translucent feel to the look of your page using simple CSS.

Yes you can do this in other ways. I do it here on developPHP using a clear PNG or GIF. This is just to show how to do it with no browser hacks using 100% CSS with no image, just in case somebody wants to see it. I would not recommend using RGBA alpha settings due to not working in IE8 and the fade looks lesser quality compared to this method.

For those of you looking to have your text and images NOT FADE inside the element, this link has a video tutorial and script for you:
http://www.developphp.com/view.php?tid=1060
Lesson Code
<html>
<head>
<style type="text/css">
<!--
body {
background-image: url(myBG.jpg);
background-position:top left;
background-repeat:no-repeat;
background-attachment:fixed;
margin-top:48px;
}
#element1 {
width:900px; 
color:#FFF; 
text-align:left;
background-color:#000; 
border: #F90 1px solid; 
padding:24px;
        /* start opacity settings */
filter:alpha(opacity=50);
-moz-opacity:.50;
opacity:.50;
       /* end opacity settings */
}
body,td,th {
font-family: Verdana, Geneva, sans-serif;
font-size: 14px;
}
-->
</style>
</head>
<body>
<div align="center">
    <div id="element1">
    Put your content for this container here
    </div>
</div>
</body>
</html>

Home   •   Terms of Use   •   T-Shirts   •   RSS   •   Testimonials   •   Subscribe   •   Classroom Chalkboard   •   Developer Q+A   •   Donate   •   Top ↑
Popular In PHP / MySQL E-Commerce Store Production
Social Network Website Building
Image Upload / Photo Processing
CMS Software Programming
Mass Email Systems
Magic XML Data
Search Programming
Popular In JavaScript JSON Programming
Ajax Programming
Animating Elements
WYSIWYG Programming
Date/Time Programming
DOM Scripting
Object Reference
Popular In HTML Canvas Element
New Form Elements
Audio Element
Video Element
Drag and Drop
Event Handling
Element Grouping
Popular In CSS Custom Font Embedding
Dynamic Fit Backgrounds
Theatre Mode
Box Overlays
CSS Level 1 Properties
CSS Level 2 Properties
CSS Level 3 Properties
DevelopPHP.com is a growing educational system packed with video and written material that you can access 24/7 100% free. The focus here in 2013 is spread between five technologies: HTML, CSS, JavaScript, PHP and MySQL. Learn programming theory, database interaction, web design, animation, graphics editing, vector art, 3D modeling, and much more. The educational experience here is a hybrid one offering both high quality video tutorials and code libraries that grow more robust every day. The code libraries are being assembled so that developers can discover all of the building blocks of their favorite languages. The libraries coupled with high quality video tutorials will take you deep down the rabbit hole very quickly. You can also ask questions and get free advice at WebIntersect.com.
©2014 DevelopPHP.com HTML5