I have a question about positioning images using PHP.
I am trying to make a logo/banner/header which consists of 3 small images, the composite of which makes it look like one large image. So far I am able to accomplish this with the code below. However, it only looks right in 1280 screen resolution.
What I would like to happen is: when a visitor comes to the site using a computer whos resolution is set below 1280 x 800, the center image will remain fixed in the center, on top of the other 2 images. The other two images will shift from their normal spot to partially hide under the center one.
The left image will shift slightly to the right, and the right image will shift slightly to the left.
I have done this before using CSS but I forgot how to do it.
Please look at my code and explain how I can accomplish what I want to do, either using pure PHP by modifying my code, or by somehow defining these images in CSS and doing it that way.
I am new to PHP and CSS so please explain what and why, if you don't mind.
Thanks in advance..
The code:
echo '
</td>
<td align="left" class="catbg">
<img src="', $settings['images_url'], '/smflogoleft.gif" style="float:left" alt="" />
<td align="center" class="catbg"> <img src="', $settings['images_url'], '/smflogocenter.gif" style="float:center" alt="" /> <td align="right" class="catbg"> <img src="', $settings['images_url'], '/smflogoright.gif" style="float:right" alt="" /> </td> </tr> </table>';[/QUOTE]