Thanks, David,

That does just what I asked for, though now I'm clear that it needs a smaller hammer -- just to affect paragraphs that wrap over with 2 lines or less. So I may be back to JavaScript, but that is a much easier fix than to have to either wrap the paragraph in a div or to recalculate its left indent based on the image width. So that's definitely a big help, and a new element to add to my holey-as-swiss-cheese understanding.

Rick Gordon

---------------------
On 4/16/15 12:55 PM, David Hucklesby wrote:
For the "Yestermorrow School" article, try adding this rule to your CSS:

.postlistcontent > p {
  overflow: hidden;
}

Explanation: overflow with any value other than visible (the default) gives the paragraph a "new block-formatting context" so it does not wrap below the float.

More here:
<http://yuiblog.com/blog/2010/05/19/css-101-block-formatting-contexts/>

___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to