You are here: Re: IE image align « HTML « IT news, forums, messages
Re: IE image align

Posted by Jonathan N. Little on 01/02/07 18:16

Ben C wrote:
> On 2007-01-02, Jonathan N. Little <lws4art@centralva.net> wrote:
>> UKuser wrote:
>>> Hi Folks,
>>>
>>> I had a div which was say 100px wide, with images in the following
>>> order:
>>>
>>> 1) 80px wide
>>> 2) 120px wide
>>> 3) 120px wide
>>>
>>> What I'm finding in IE (6) is that the 80px image aligns to the left.
>>> Even if I change text-align or set right they both appear to align the
>>> image to the left rather than to the right (which is what I wanted).
>>>
>> How to you propose to align to the right a 120 pixel image within a 100
>> pixels wide container?
>
> Presumably it should line up on the right and overflow to the left.
>
> That can be achieved by setting direction: rtl on the container (which
> also causes text-align to default to right). Firefox gets it wrong
> though.

But technically all he wants is to align to the right his content, not
the direction of his language flow

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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