Re: Pressing Enter in contenteditable: <p> or <br> or <div>?

On Wed, 11 Jan 2012 18:31:26 +0100, Ryosuke Niwa <rniwa@webkit.org> wrote:

>> Actually, applying p {margin:0} looks quite trivial.
>
> The problem is that many existing contents don't have that css rule and  
> we obviously don't want to create markup like <p style="margin: 0px;">  
> for it is too verbose.

Probably a stupid question, but one I've always wanted to ask: couldn't we  
default to a different, smaller, possibly 0 margin for P when in editable  
content?

-- 
Hallvord R. M. Steen, Core Tester, Opera Software
http://www.opera.com http://my.opera.com/hallvors/

Received on Thursday, 12 January 2012 10:01:21 UTC