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:
> This inserts the div element with the image, but breaks the line
> before and after my element

The <div> is display:block, no?

-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.