A fixed background image (this image will not scroll with the rest of the page)

<html>
<head>
<!--
This code is www.jumboeducation.com curriculum material
Written by Suraj Lama.
-->
<style type="text/css">
body
{
background-image:url('yourimagename.jpg');
background-repeat:no-repeat;
background-attachment:fixed;
}
</style>
</head>

<body>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
</body>

</html>

[Note: Insert your background image name with location in yourimagename.jpg]

Others

Circle Hover Effects CSS3
Circle Hover Effects with CSS3 Transitions
Radial Blur
Create attractive effect from photoshop of your photo.
Draw a Mobile ΓΆ€“ Photoshop Tutorial
Draw a Realistic Samsung Galaxy S2. To follow this tutorial, you will need the following resources...
Clean and Stylish CSS3 Form
This article is about creating a form using some of CSS3 properties. You can easily customize the style.

SIGN UP FOR NEWSLETTER

Sign up to received our free newsletter!
Name:
E-mail ID:

MOST READ

Views: 5785 Times
Spelling and Grammar Checking in Word 2007 READ MORE
Views: 3441 Times
Twitter launches photo color filters to battle Instagram, Facebook READ MORE
Views: 3622 Times
Aaron Swartz, internet freedom activist, dies aged 26 READ MORE
Views: 6449 Times
Backing Up Gmail Data to Your Computer READ MORE
Views: 8267 Times
How to Password Protect Files (Windows 7) READ MORE

Home|IT News|Computer Tips|Video Tutorials|Download Softwares|Subjects|Contact Us
Copyright © 2021. Jumbo Education (Information Technology). All rights reserved.
Free counter and web stats

Large Visitor Globe