Web Tips Article is syndicated
from Web-Source.net.
Syndicated articles are written by independent authors and the contents represent the author's views. The content of the article does not necessarily represent the views of Company Web staff and management.
If you would like to display a background image on your web page, but don't
want it to tile (repeat), place the following code between your
<HEAD> and </HEAD> tags. This code will prevent your image from
tiling and will center it within your page.
<STYLE
TYPE="text/css">
<!--
BODY { background-image:
url(yourimage.jpg) }
BODY { background-repeat: no-repeat }
BODY { background-position: center }
-->
</STYLE>
Copy and paste the above code into
your HTML between your <HEAD> and </HEAD> tags. Replace the text
indicated in red with your image file.
Web Design Tips is an excerpt from
Web Design
Mastery- An Internet Marketers Copy & Paste Reference Guide.
Learn how to design a professional web site in the easiest possible fashion
-- with hundreds of copy & paste codes.