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
[Back to original message]
|