.
Need to do it to ALL imgs you want to go left of text.
ALIGN (?not allowed in HTML5)
Once you have marked the things you want to cling to one side, all others will
flow round.
lets you mark a later object e.g. as
preventing any more flow and claiming full-width for itself.
-----
========= CSS-float,clip,....
right: xpx. It calculates where right border should be; then moves it left by
xPX! or right by -xPX.
So: a) bizarre reversal of +/-
b) not use for normal align because it is rel. to parent win; and
doesn't take account of width of IMG itself.
css-FLOAT
This is actually about (html-align) positioning an object left/right w.r.t.
text being rendered.
css-float: left/right/none/inherit [default none]
css-clear: both/left/right/none/inherit
Must put text to be wrapped AFTER the img/object which is floated.
HTML-align
(ALIGN is not allowed in HTML5, at least for IMG.)
ALIGN can anyway probably only apply to DIV type objects e.g. to IMG but not
to which has no border.
CSS-clip: clip:rect (top, right, bottom, left)
JAVA-object.style.clip="rect(0px,50px,50px,0px)"
Must have position:absolute or fixed (not even relative)
?Actually: must have an ancestor which is fixed somehow.
N.B. this will cut off the obj from wrapping, so text will probably
overlap it.
The visible portion is in the same pos. as it would be if unclipped.
(Must?? have overflow: not visible? w3schools says so, but my browsers
don't do that.)
So it seems less good than my sol. for cropping because can't ctrl.
pos. on screen so sensibly.
...........
Actually clip isn't useful as you expect. It takes an object including borders
etc., then clips.
To actually clip an img: see FN-crop above.
Answer is to crop it in Preview and save new jpeg.
Get size from the jpeg and freeze it into the HTML to stop scaling.
...........
CSS-overflow: hidden / scroll / auto / inherit / visible [default]
hidden-> crop
scroll-> Add 2 scrollbars even if not needed
auto-> Add scroll iff needed. The browser that then determines this.
inherit-> from DOM parent
-----
===========
More URLs:
http://www.w3schools.com/css/css_positioning.asp
http://cssglobe.com/3-easy-and-fast-css-techniques-for-faux-image/
http://stackoverflow.com/questions/1156776/css-clip-and-absolute-positioning
http://spigotdesign.com/crop-any-size-image-with-css/
https://css-tricks.com/snippets/css/clear-fix/
https://css-tricks.com/crop-top/
https://css-tricks.com/almanac/properties/f/float/