DevelopPHP
home Forum gear home

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
<iframe width="560" height="315" src="http://www.youtube.com/embed/5yswzs6Ebiw" 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 CSS3 html5 Perfict Fit Background Tutorial background-size Scale Stretch Image
Embed Source - http://www.youtube.com/watch?v=5yswzs6Ebiw
Publish Date - Jul 29, 2012     Author - Adam Khoury
CSS3 html5 Perfict Fit Background Tutorial background-size Scale Stretch Image
Learn to create CSS web page backgrounds for HTML5 documents that scale and stretch to fit into the user screen regardless of the type of device they are viewing your page with.
Lesson Code
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
background:url(dynamic_width_bg.jpg) #A98436 no-repeat left top;
background-size: 100%;
}
</style>
</head>
<body>
<h1>My page with 100% width background image</h1>
</body>
</html>

Home   •   Terms of Use   •   Developer Forums   •   T-Shirts   •   RSS   •   Classroom Chalkboard   •   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
©2013 DevelopPHP   |   Navigate to related domains HTML5