You are here: Re: Frames and graphics « HTML « IT news, forums, messages
Re: Frames and graphics

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 -

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация