|
From: mario r. <ma...@ru...> - 2006-08-28 09:03:27
|
Hello, I am trying to wrap sections of content into blocks, such that I can CSS each block liberally. So, in practice I expected that the HTML in the following sample will give me what I want: <div class="one"> a para another para </div><div class="two"> a para two another para </div> However, the div tags get wrapped in <p> elements. It seems that the parser does not keep track of when an inlined block level element is closed, at least not beyond the first blank line encountered. If, by first blank line, it is not closed, then it treats it just like paragraph text and wraps a <p> around it. Is this correct? Can I specify in some way to not touch "free-floating" html bits, whether the parser thinks they are well-formed or not? Any ideas how to achieve something like the above with the current version? Thanks for any hints... mario |