Ok, so you run a search on the user input. Whenever you find a
paragraph that has this:
<p> Stuff... <br /></p>
or this:
<p> Stuff... <br></p>
You replace that with:
<p class="extraline"> Stuff... </p>
And you do in the css:
.extraline { margin-bottom:1em; }
or:
p { margin-bottom:1em; }
p.extraline { margin-bottom:2em; }
Another thing you could do is convert:
<p> Stuff <br></p>
to:
<p> Stuff <br /><br /> </p>
or:
<p> Stuff... </p> <p> </p>
If that doesn't solve the problem, then you might be asking for too
much. You can't always prevent GIGO.
--
C Montoya
rdpdesign.com ... liquid.rdpdesign.com ... montoya.rdpdesign.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/