On my credits page, I want any long text after the em dash that wraps
to restart below and at that point where the text string begins after
the em dash.
Rod Castello's idea is sound, but instead of divs you should place 2
spans inside the existing paragraph.
Float the first span left and prevent its (text-)content from breaking
so the float can take some resizing. Then apply 'display: block;
overflow: hidden' to the second span.
The effect - and additional styling for less capable (older) browsers -
can be seen here...
<http://www.gunlaug.no/contents/wd_example_01_02.html#ex4>
Experiment a bit with the left-floating span, as I have used an image
while you'll be using text.
Un-styled those spans will fall back to what you have now - normally
wrapping text inside paragraphs.
regards
Georg
______________________________________________________________________
css-discuss [cs...@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/