tags:

views:

90

answers:

4
+1  A: 

Try:

img#MYIMAGE {
  float: right;
}

Not sure if that'll work - it depends on how div#contact_17 is styled, which isn't clear from your question.

Dominic Rodger
hah - given the number of other posts telling you the same thing, I'm guessing this ought to work!
Dominic Rodger
when i gave it float:right; it went right but down, so it appear that its on another row
Amr ElGarhy
hmmm... try floating the other elements left (the checkbox, the other image and the span)
Dominic Rodger
A: 

Just float it right

#MYIMAGE{
 float:right;
}

It would be a good idea to fix the width of the image too.

trex279
A: 

Try float:right;

Georg
+3  A: 

An alternative is to use absolute positioning.

If #contact_17 is position:relative, you can set #MYIMAGE to position:absolute and set its 'right' property to 0 (or however far from the right edge you desire). Absolute positioning will ignore anything else in the div, though, so if you do that be sure to set the rest of the contents to not overlap.

Alex JL
Good suggestion - this might cause problems in the case where usernames are of unknown length, so be a bit careful. +1 for a good alternative though :)
Dominic Rodger