echo '<p class="post"><h3>'.$result['title'].'</h3><object class="video" width="95%" height="55%">
<param name="movie" value="http://www.youtube.com/v/'.$match[0].'?fs=1&hl=en_US&rel=0">
</param><param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/'.$match[0].'?fs=1&hl=en_US&rel=0"
type="application/x-shockwave-flash" wmode="opaque" allowscriptaccess="always"
allowfullscreen="true" width="95%" height="55%"></embed></object><p class="desc">'.$result['description'].'</p></p>';
why does .post {border-bottom:2px black solid;} displays border at the top of the paragraph?
you don’t believe me, try it for urself HERE
It doesn’t, you’re just doing it wrong. There’s no text in the
<p>node for it to be under, and you’ve got a bottom margin defined. See the screenshot I’m about to upload.