Home » , » How To Make Your Web Page Background Image Stationary

How To Make Your Web Page Background Image Stationary


(Internet Explorer)
If you'd like to display a stationary image behind your text, you can do so by adding attributes to your HTML body tag.
Stationary background images remain in one place even when scrolling through the page. Only the text will move. To create this effect, place the code below within your <BODY> tag.
<body background ="yourimage.gif" bgproperties="fixed">
Edit the text indicated in bold to suit your needs.
When selecting your background image, keep in mind that your text will be moving over your image, so try to select an image that won't make your text difficult to read. To prevent your background image from tiling (repeating), place the following code between your <HEAD> and </HEAD> tags.
<STYLE TYPE="text/css">
<!--
BODY { background-image: url(yourimage.jpg) }
BODY { background-repeat: no-repeat }
BODY { background-position: center }
-->
</STYLE>
Using a stationary image background provides a great way to enhance your web page.
Share this article :

2 comments:

  1. Mostly business promotions are promoting through website.If design of website is attractive the visitors means,then only more visitors would come to that websites.
    Web Design Company Bangalore

    ReplyDelete
  2. Thank you for sharing this informative post..it is really good
    Web Design Company

    ReplyDelete

 
Copyright © Online Business - All Rights Reserved
Proudly powered by Blogger