[thelist] dynamic generated content breaking my pages!

Lonnie kr43m0r at earthlink.net
Thu Mar 27 13:53:11 CST 2003


> What astounds me (perhaps it shouldn't?) is that while I write this:
>
> <p class=pad> $content </p>
>
> so that anything in $content is also inside my styled P tags and
should
> abide by those rules (I think it should, anyway) that isn't
happening - At
> the first p tag of the generated content it defaults to ... um,
default (ie,
> minus my nice margins etc.)

If there's a <p> in the content, you are creating invalid markup - a
paragraph within a paragraph.

Try
<div class="pad">$content</div>
instead.

Lonnie



More information about the thelist mailing list