Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy question


luv2roam

Recommended Posts

I don't know if I'm a newbie or more of an oldbie. I haven't done much web stuff since the 90's so I'm kinda stuck in ancient html.

 

This is all I want to do..I want to add a repeating background image to a table in my sts_template page. I've tried <table background="images/pic.gif"> and <table background-image: url('images/pic.gif')> Nothing works.

 

I know this is insanely simple. What's the problem? Thanks.

 

Sorry-I listed this in the wrong topic.

Edited by luv2roam
Link to comment
Share on other sites

I don't know if I'm a newbie or more of an oldbie. I haven't done much web stuff since the 90's so I'm kinda stuck in ancient html.

 

This is all I want to do..I want to add a repeating background image to a table in my sts_template page. I've tried <table background="images/pic.gif"> and <table background-image: url('images/pic.gif')> Nothing works.

 

I know this is insanely simple. What's the problem? Thanks.

 

Sorry-I listed this in the wrong topic.

 

try <table style="background-image:url(/images/image.gif) repeat;">

 

or give the table an id <table id="main"> and then place

#main {background-image:url(/images/image.gif) repeat;} in your style sheet

Link to comment
Share on other sites

:blush: Um...oops. I just realized that I needed to make an images folder specifically for the sts_template. I was putting the images in the wrong folder. I think I'm slowly getting the hang of this. But other images worked in the other folder. Hmm, I'll have to ponder that one. In the mean time, I'll learn how to post under the correct topic!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...