I need a html code for a backround to add a picture?

  • Thread starter Thread starter ari7fresh
  • Start date Start date
A

ari7fresh

Guest
I have a blog and I want to add a code to it so I can have a background picture. I know there is a background picture html code, I just need it to add it as well as repeating the image. It would help if you could tell me where to put it on my template. :D thanks.
 
<STYLE type="text/css">
body {
/* background, scrollbar, cursor */
background-color: COLORHERE;
background-image: url(URLHERE);
background-position: center;
background-repeat: repeat;
background-attachment: fixed;



</STYLE>



Paste the URL of your background image where it says URLHERE.
You don't really need to paste a colour, because the image should repeat.
And "background-attachment: fixed;" means it will stay the same all throughout the screen, and if you don't want it to stay the same, I think you can erase the "fixed" and replace it with "repeat". I THINK.
I'm pretty sure you can paste this code anywhere on your template. I would just stick it at the end.

Hope I helped!
 
Back
Top