Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image insbackground instead of background in heade


toontakkenbos

Recommended Posts

Posted

First of all, I am a osCommerce newbie.

 

I want to use a image in the global header as a backgroud. Therefore I adjusted the stylesheet like this:

 

TR.header {

background-image:url("images/blue_header.jpg");

background-repeat:no-repeat;

background-position:left left;

height:119px;

width:900px;

 

Now the left part of the image shows up two times in the header, it looks like the header is splitted in two. Can anyone tell me why, and how to fix it?

Thx

 

John

Posted

Whenever you use an image as a background, it will tile like that. Make your background image wide enough and high enough that it can cover the entire table row.

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ

Posted

Hi,

 

Thanks for you reply. The image is 119x900(h x w), so it should be wide enough. I used the picture in a standard HTML page and there it showed correctly. Is there another way to avoid tiling the picture?

Archived

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

×
×
  • Create New...