Posted by Els on 11/13/05 14:23
Petros wrote:
> Hi, I have used Frontpage 2003 to create a web site, one of the pages in the
> site is a list of hyperlinks and a single frame. The hyperlinks call an
> image to be displayed in the frame (using Target Frame).
>
> The question is, how do I get the image centered in the frame. I have
> rescaled all the images such that they all scaled to whichever side of the
> image equals the max side of the frame. The problem is that try as I might
> every image is displayed left aligned in the frame.
>
> Any help gratefully received.
Ignoring all the mistakes you made so far ;-), write this in the head
of the page the images are in:
<style type="text/css">
body{text-align:center;}
img{margin:auto;}
</style>
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
[Back to original message]
|