toontakkenbos Posted July 16, 2004 Posted July 16, 2004 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
Mary B. Posted July 17, 2004 Posted July 17, 2004 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. տլ
toontakkenbos Posted July 17, 2004 Author Posted July 17, 2004 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?
airolg Posted July 21, 2004 Posted July 21, 2004 Is this what you wanted? background-repeat: repeat-x;
Recommended Posts
Archived
This topic is now archived and is closed to further replies.