Drupal cck Imagefield Float Right

Here is how you can change your css file (likely your style.css file in the theme folder) to have specific cck imagefields float tot he right of your node content.
In this example the machine readable name of the field is "imgfld", this is how the sample image on this page is aligned to the right side using cck.

Add the following to the CSS file of your theme
.field-field-imgfld {
float: right;
margin-left: 1em;
}

drupal cck image float

Add new comment