Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Background Image


Hotclutch

Recommended Posts

Hi All

 

I am trying to set a header background image, but I cannot get it to line up to the right.

 

I am using this in my CSS

 

TR.header {

/*background: #ffffff;*/

background-image: url('images/header_pic.jpg');

 

Adding width to the image with photoshop does not make a difference at all. Is there anything else that must be specified?

Look here to see what I mean. My screen resolution is 1280 X 1024

Link to comment
Share on other sites

Hi All

 

I am trying to set a header background image, but I cannot get it to line up to the right.

 

I am using this in my CSS

 

TR.header {

/*background: #ffffff;*/

background-image: url('images/header_pic.jpg');

 

Adding width to the image with photoshop does not make a difference at all. Is there anything else that must be specified?

Look here to see what I mean. My screen resolution is 1280 X 1024

 

 

you could try to align the background element using

 

background-position-y: right;

Link to comment
Share on other sites

I may have confused my x's and y's

 

try

 

 

background-position-x: right;

 

Hi..Thanks for the replies. I couldn't come right with the background image. X is right but I still couldn't get it in the corner. So I made my logo and graphic on one image and made that the store logo in header.php. Looks decent.

 

:)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...