Ahmed K wrote:

> hello1
> 
> i wanted to know how i can align an image to the right.
> 
> the imag is inside a span, and the span has text in in and is given a width
> of 120px.
> 
> i tried right=0px, but that alignes it to the right of the text, i want it
> to be aligned to the right of the border fo the span element,, it should be
> possible,,
> 
> so how cna i do it, thanks.
> 
> 
> 
> 

Hello Ahmed,

you cannot mix values of different attributes. "right" is a value for 
the "align" attribute and "0px" is a value for a "width" attribute. Use 
the following code and it will work:

<div align="right">
<img src="image.gif" width="120">
</div>


Reply via email to