Thread: Tumblr question
View Single Post
Old 01-07-2011, 08:58 AM   #1
loginptsa

Join Date
Oct 2005
Posts
502
Senior Member
Default
if you want an image just for the header background, you put it in the CSS.

/* HEADER */
div#header {
padding: 10px 0;
margin-bottom: 20px;
background-image:url('yourimager.gif');
}


where yourimage.gif is the image you want in the background, you can also specify heights and widths and everything else you need in the CSS for the image, it also keeps your base code tidy. you can also repeat the image if you need too

{
background-image:url('paper.gif')
background-repeat:repeat-x;
}

this repeats the image horizontally untill it fills the width of the header.
loginptsa is offline


 

All times are GMT +1. The time now is 11:42 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Design & Developed by Amodity.com
Copyright© Amodity