Re: Creating a new element and inserting before an existing causes line breaks

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Jeremy L wrote:
>> The<div>  is display:block, no?
>> -Boris
>
> Yes - I changed both to divs and added the display: block attribute -
> same result.
>
> cisco_newcode.setAttribute("style","display: block;");

My point is that a display:block node will cause line breaks before and after 
itself.

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.