View Full Version : background image for a page?
mercerg1
12-22-2005, 12:08 PM
how can i use a background image for my page. it works when i view it on my desktop, but when i upload it to soho, it doesn't show up. i checked the images folder and the image is in there.
i tried to accomplish this two different ways. first, i did it through the page properties, and the second time i created a div and set its background to the image. both use CSS so i don't know why it didn't work.
thanks.
Bradnjxn
12-22-2005, 12:54 PM
mercerg1,
Sounds like you are building a template for your website on your local computer, then uploading it. After it is uploaded the background image isn't showing up. Is this right?
You indicated that you have uploaded the image into the images folder. If you are creating a template for your site, you need to have the background image (and any other template image) in the ...site_templates/pages/YourTemplateName, folder.
Instead of your background in HTML code being set like this......
<body background="../../images/YourPic.jpg">
Simply change it to:
<body background="YourPic.jpg">
Using FTP:// instead of the Template Manager, upload the template folder to ...site_templates/pages/. Make sure that the background image is included in the folder. This should work.
mercerg1
12-22-2005, 01:43 PM
i got it to work.
btw, would you know why my content is showing up in the middle of my table cell, and not aligned at the top. i checked the source code and my cell is set to "align=top".
thanks
Ruben
12-22-2005, 04:50 PM
its proberbly the css of soholaunch thats overruling your 'top'
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.