css styling jhtmlArea.css

Apr 26, 2011 at 7:35 PM

I would like to control the separation distance of the paragraphs in my jhtmlArea.  I assume that I would modify the jhtmlArea.css.  I would like to set the <p> to be the equivalent of

<P style="MARGIN: 0px">

Is this possible?  what do I need to add to my jhtmlarea.css to accomplish this?




Apr 26, 2011 at 8:56 PM

If you install a tool like firebug in firefox you can easyly find the element you want to modify and then add that to the css file.

For your problem it should simply be:

body p {

Also you would actually have to include the css first since that doesn't really happen by default. See the second post of this discussion for details on that.