I have a link with an image behind it, the image is supposed to be centered. I need to position the link AND image so they are in the horizontal center, but offset to the left by a number of pixels.
I have a fixed-width site which is centered in the middle of the page, these links must be in the same location regardless of screen resolution.
Here is an ascii drawing to help explain what I mean:
___________________________________
| | | |
| | | |
| | | |
| |<> | |
| |<> | |
| |<> | |
| | | |
| | | |
| | | |
|___________|___________|___________|
The center part is where the site is.
The <>
is a link, with an image behind it (via css).
The site is fixed-width in the center, just like above. How can I position the link and image elements like above?
The links are supposed to look like:
______________
<_____Text_____>
with the text centered both vertically and horizontally.
Thanks for your help!