Sunday, August 9, 2009

HTML code for background image on blogger?

I want to make a picture my background on blogger. Can you give me a code and ill just put the image url.





Right now its this:





%26lt;Variable name="bgcolor" description="Page Background Color"


type="color" default="#fff" value="#000000"%26gt;
HTML code for background image on blogger?
Your blogger editor should have the ability to set you a background image for any page using its tools. I would only be able to guess at the code it uses to provide an image as a background.





This is kinda what I would guess and it's probably wrong:





%26lt;Variable name="bgimage" description="Page Background Image"


type="image" src="URL path to image"%26gt;





If you can directly edit your CSS stylesheet, that's the place to put it. See: http://blogger-tricks.blogspot.com/2006/...





and see "Background Image for Blogger Template": http://feqs.blogspot.com/2008/10/backgro...





Ron
Reply:From the site I found, it is recommended you use cascading style sheets to set a background now. Older code use to set the background in the body tag, but no longer.





http://www.quackit.com/html/codes/html_b...





body {


background: url("http://yoursite.com/images/image_na... 50% 50% no-repeat;


}
Reply:Try this:


%26lt;style type="text/css"%26gt;


%26lt;!--


body {


background-image: url(ADDRESS);


}


--%26gt;


%26lt;/style%26gt;

No comments:

Post a Comment