View Single Post
  #8  
Old 08-08-2008, 11:21 PM
 
gennarof gennarof is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 46
 

Default Re: inserting code to input image background

Quote:
Originally Posted by Ashley
You can set a background image for any element you want.

You just ahve to assign the element an ID or class and set the background image.

Open the head.tpl and you could use somehting like this.

<table cellpadding="0" cellspacing="0" width="100%" align="center" id="headBG">

then in your skin1.css you could use

#headBG{
BACKGROUND: url(images/whateverYourImageIsCalled.gif); background-repeat: no-repeat;
}

set the properties to whatever you want for repeat and placement.

make sure you upload the image to the skin1/images directory.

here is an excellent site for learning CSS

http://www.w3schools.com/
Thanks Ashley I inserted exactly as you suggested and so far absolutely nothing has happened when I load my home page.. strange.I would have thought that it would have at least been messed up if I did something wrong. I will take a min and flush the cash. Maybe the page is not loadind from the server.
Any thoughts.?

thanks
__________________
Ver 4.1.9
Reply With Quote