Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Excerpts, Read more, Pagination (http://forum.bytesforall.com/forumdisplay.php?f=20)
-   -   Where is the <p> tag that wraps around the excerpt? (http://forum.bytesforall.com/showthread.php?t=8469)

JFG Jul 23, 2010 10:47 AM

Where is the <p> tag that wraps around the excerpt?
 
If you look at the code for the excerpts when there is a thumbnail image, it looks something like this :

HTML Code:

<div class="post-headline">
<h2><a href="http://dreamingtraveler.com/a-quick-stop-at-kundragling-bon-monastery-on-losar/" rel="bookmark" title="Permanent Link to A Quick Stop At Kundragling Bön Monastery On Losar">A Quick Stop At Kundragling B&ouml;n Monastery On Losar </a></h2>
</div>

<div class="post-bodycopy clearfix"><img width="125" height="100" src="http://dreamingtraveler.com/wp-content/uploads/2010/06/main-thumb1.jpg" class="attachment-post-thumbnail wp-post-image" alt="main-thumb" title="main-thumb" /><p>There it was! Kangchenjunga, the highest peak of India, appearing like a mirage in the sky. We marvelled at its sight as it seemed to tell us to stay a little bit more in this fabled Buddhist land. <br /><a href="http://dreamingtraveler.com/a-quick-stop-at-kundragling-bon-monastery-on-losar/">Read More…</a></p>
<div style="border-bottom: dotted 2px #dddddd;"></div>
</div>

Now it seems that because the <img> tag is not inserted inside the <p> tag that wraps around the text of the excerpt, the thumbnail does not align well with the text in Internet Destroyer (IE). Meaning there is no space between the title of the post excerpt and the thumbnail while there is a space between the title and the excerpt text. This only happens in IE. See example here : http://dreamingtraveler.com (in development)

If I change the css value of the <p> tag then it solves the issue with IE but creates a problem in other browsers.

Sooo.... anyone knows where in the code can I remove/edit these <p></p> tags so that the thumbnail and the text align well? I could not find them in the editor and been driving me crazy for a while.


Thanks


All times are GMT -6. The time now is 05:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.