Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

Excerpts do not align well in IE

Old May 24, 2010, 02:07 PM
44 posts · Jul 2009

I'm using Atahualpa 3.4.6 on WP 2.9.2

When using thumbnails and excerpts, the text does not align well (horizontally) with the image in IE. There is an empty space above the text that I cannot get rid of. It looks fine in other browsers.

After playing with all padding and margin settings, my only guess as to what may be causing this is the <p> tag that Atahualpa places in front of the text excerpts. Could this be causing the space in IE?

To see example, you can see : www.mangersantebio.org
Look at the bottom left of the page for the post excerpts in IE and you'll see what I'm talking about. The same problem occurs with 3.4.9 on another site.

Thanks for any tip. Doesn't anyone else have their IE excerpts show up this way?

Old May 24, 2010, 09:01 PM
44 posts · Jul 2009
Well, I found what was causing this:

In the css.php there is this:

div.post-bodycopy p {
	margin: 1em 0;
	padding: 0;
	display: block;
	/* The rule below would create hor. scrollbars in Firefox, 
	which would be better than overflowing long strings, but the
	downside is that text won't float around images anymore. 
	Uncomment this if you don't float images anyway */
	/* overflow: auto; */
by simply removing the vertical margin value the excerpt text in IE now aligns with the thumbnail image while it remains well aligned in other browsers as well. Hope this helps someone.

Last edited by JFG; May 24, 2010 at 09:07 PM.
Old May 25, 2010, 08:58 AM
44 posts · Jul 2009
Actually, doing what I described in the last post also changes the value of all P tags in the posts and pages... so it would actually be better to leave the vertical margin value as is and remove the P tag altogether when an excerpt is being displayed....

Anyone knows where I can remove the P tag that appears before each excerpt?


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to align justify text in excerpts? JFG Excerpts, Read more, Pagination 1 Apr 13, 2010 06:55 PM
[SOLVED] How to right align the menu izzysanime Header configuration & styling 2 Jan 29, 2010 08:54 AM
Control spacing in menu bar: left-align some; right align others; blank space between sarah97302 Page & Category Menu Bars 1 Nov 16, 2009 01:47 PM
Menu align to right pixelmac Page & Category Menu Bars 0 May 24, 2009 03:21 AM
Align widgets horizontal evripidis Sidebars & Widgets 5 Apr 28, 2009 01:10 PM

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

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