You are here: Re: HTML Image Alignment « HTML « IT news, forums, messages
Re: HTML Image Alignment

Posted by dorayme on 10/23/06 20:36

In article
<1161619710.950289.113430@h48g2000cwc.googlegroups.com>,
"RigasMinho" <minho.cho@gmail.com> wrote:

> Hello,
> I have this issue where somehow i want the first image to be placed all
> the way on the left part of the screen.
>
> While the 2nd image has to be placed a little bit to the right side of
> the left margin.
>
> I cant seem to get it to work:
> <body style="margin-left:50;margin-right=50" >
> <img src="test.GIF" />
> <img src="test2.jpg" />
>
> If i change teh body style to "margin-left:0;
> then it aligns both pictures to the left.
>
> I only want the first picture aligned to the left but cant get the
> second picture to align someplace else.
>
> Any ideas?

Is this no good?

<div>
<img src="unknown.gif" alt="test1">
Should hug the left side of window
</div>
<div style="margin-left:70px;">
<img src="unknown.gif" alt="test2">
Should be 70px offset from side of window
</div>

--
dorayme

 

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

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