Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Background image in the header problem.


Visceral

Recommended Posts

I'm almost embarresed to admit it, but for some reason this is stumping me. I need to add a background image to the header so that the space that isn't covered by my logo image tiles a small gif file. The part I'm talking about is way over to the left where the My account, cart contents, checkout icons appear. I'm having real trouble getting this image to even appear. Any thoughts? I've tried the following in the style-sheet

 

TR.header {

 background-image: url('/images/tile2.gif');

but with no luck.

Link to comment
Share on other sites

I'm almost embarresed to admit it, but for some reason this is stumping me. I need to add a background image to the header so that the space that isn't covered by my logo image tiles a small gif file. The part I'm talking about is way over to the left where the My account, cart contents, checkout icons appear. I'm having real trouble getting this image to even appear. Any thoughts? I've tried the following in the style-sheet

 

TR.header {

 background-image: url('/images/tile2.gif');

but with no luck.

This should work:

 

move the class="header" from the <tr> to the <td>

 

 td.header {background-image: url(images/tile2.gif);}

 

dont have a site to look at but that should work.

Perdure - Transparent Object Relational Persistence
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...