Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Working with the 'background-image' tag...  (Read 5622 times)

0 Members and 1 Guest are viewing this topic.

lord_altan

  • Guest
Working with the 'background-image' tag...
« on: November 15, 2004, 05:49:35 PM »
Okay, this what I'm using.

<STYLE TYPE="text/css">
<!--
BODY

#main {
     width:807px;
     text-align: center;
     margin: 0px;
     padding: 0px;
     margin-left:auto;
     margin-right:auto;
     background-image: url(images/bg.jpg);
     background-repeat: repeat-y;

I need help with the "background-image: url(images/bg.jpg);" part (or maybe the whole thing, I don't know if I'm doing this right). I can't upload folders onto the host website, so I just uploaded each picture individually, thus eliminating the need for the 'images/' command. However, I can't get the images to load. What should the tag look like if I had done this correctly?

Corrosive

  • Guest
Re: Working with the 'background-image' tag...
« Reply #1 on: November 17, 2004, 11:16:22 AM »
Simple. Replace this:
Code: [Select]
background-image: url(images/bg.jpg);
With this:
Code: [Select]
background-image: url(bg.jpg);

Should work. ;D