Jump to content

Placing of bg image


kurt.santo

Recommended Posts

Yes. There's the background-position property, to which you can specify X and Y coordinates (in this order) at which you want the image to appear. Note that browsers have a quirky way of dealing with percentages, or should I say IE has a problem. Pixels should be fine. On your example, the way would probably be something like:

background-position: 30px 0;

Link to comment
Share on other sites

Yes. There's the background-position property, to which you can specify X and Y coordinates (in this order) at which you want the image to appear. Note that browsers have a quirky way of dealing with percentages, or should I say IE has a problem. Pixels should be fine. On your example, the way would probably be something like:
background-position: 30px 0;

Working well, cheers:-)Kurt
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...