Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I use an image as a background?


rileygsd

Recommended Posts

I have uploaded an image of a png file which should fill the page. I want to set it as the background behing the the catalog box, but I am not sure how. I am really new to all of this and I am just figuring out how to change colors and text size and stuff so this may be to hard for me. any tips are greatly apreciated.

 

Thanks

Link to comment
Share on other sites

background image support varies between browsers, I often use DIV for best results.

 

try this

 

just before table:

 

<div style="background-image:url(images/title.jpg); padding-bottom:10px; margin-bottom:10px; padding-top:0px; background-position: center right ;

 

background-repeat: no-repeat; layer-background-image:url(images/title.jpg); border-bottom: 2px solid #999999">

 

after table:

 

</div>

 

of course you should put the style in your css.

 

B)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Thanks for the advice but I don't think I really understand it. What is the table.

 

 

http://www.w3.org/TR/html401/struct/tables.html

 

learn html first!!!

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...