Thursday, March 4, 2010

Background Image to a Post.

It can be nice to sometimes give a background image or texture
for a post. This tutorial will show you how to go about setting it up.
I am using a 200px square image though you can make it smaller
If you wish. Once you have the image you style the HTML to
repeat the image in either direction. So you can repeat either x or y
depending on which way you want it. not putting a repeat direction
Will repeat it by default in both directions.
If you don’t want it to repeat then type no-repeat, the code is
background-image the url (in brackets) and repeat x or y or no-repeat.

No comments:

Post a Comment