Advance software forum
May 18, 2012, 08:54:39 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: CSS  (Read 5666 times)
0 Members and 1 Guest are viewing this topic.
Rain
Newbie
*
Offline Offline

Posts: 7


View Profile
CSS
« on: January 12, 2007, 11:45:24 PM »

I have an OsCommerce store and would like to know how I can get more then one background image?  I have a backgound image on the left side of my site and want to make the same thing on the right side as well.  Also, need some other bg images too.

Any help with this will be greatly appreciated!

Thanks
Logged
Alex
Administrator
Full Member
*****
Offline Offline

Posts: 128


View Profile
« Reply #1 on: January 13, 2007, 07:04:03 AM »

Hi,

We will definitely like to help, but we need you to describe your problem in details:
first of all please show us your site, secondly shows a place where you want this "double" background to have.

Best,
Alex
Logged
Rain
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #2 on: January 13, 2007, 11:45:29 PM »

My OSC site isn't live yet, so you might not be able to see it.  www.lsccreations.com.  Let me know if you need to get into some other way.

I have a left border, using my css:

 BODY
{
border: 6px;
border-style: ridge;
border-color: #b2e58a;
margin-left: 121px;
margin-right: 121px;
margin-top: 0px;
margin-bottom: 0px;
background-image: url('/catalog/images/border.gif');
background-repeat: repeat-y;
background-attachment: fixed;
background-position: 0% 0%


Now I want the same thing over on the right hand side but using a different image so it will be turned around correctly.  Also I would like to add my ssl certificate to the bottom of the left column.  I did find in OSC support documentation this script to add images to the columns...but it doesn't work for me.

For column_left.php and if you want a logo at the bottom of the column you tag it like this:
<td><img src="/images/yourimage.gif" width="150" height="125" border="1"></td>

I tried the above script in various ways and my page will go blank when I open it up.  It takes out all my text and boxes and just leaves my left border.

Again thanks for the help.
Rain
Logged
Alex
Administrator
Full Member
*****
Offline Offline

Posts: 128


View Profile
« Reply #3 on: January 18, 2007, 05:00:53 AM »

Hello

Strange thing. It should work with image. Send me a source of your column left, and an url of the image you want to use. I'll post you how to do that.
As for background, I dont understand what do you need.

Bestm,
Alex
Logged
Rain
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #4 on: January 19, 2007, 08:09:37 PM »

What I'm trying to do is 2 background images.  The script I posted does work without a problem.  I'm just trying to get a second background image going on the right side of my site.  Do I need to create a new class and use that class to get my second image?  If so how do I do that and where? 

Thanks
Rain
Logged
Alex
Administrator
Full Member
*****
Offline Offline

Posts: 128


View Profile
« Reply #5 on: January 20, 2007, 07:15:27 AM »

Hey,

I got what you need. I was looking to root site, not to catalog.
Obviously, it is not possible to do via CSS only, without file editing.

The easiest way to do this is to enclose everything with a new table: put a new table into header.php, left column will have a left image border,
center column will have your site, right column will have right border. You will also need to close that table in footer.php. And apply some CSS backgrounds
to this table, and remove current body adjustment.

Let me know if you have completed it.

Best,
Alex
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 3.1.1 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!