[thelist] CSS in WordPress: spacing is different between two pages and I can't find the difference

AG rovision at yahoo.com
Thu Sep 6 21:44:10 CDT 2012


Without too much testing, if you remove the margin-bottom:8px from the the <p> tags in the page, the image will touch the bottom line.
Overall, the page has some issues in terms of CSS, but that's another story.

AG




>________________________________
> From: Frank <lists at frankmarion.com>
>To: "thelist at lists.evolt.org" <thelist at lists.evolt.org> 
>Sent: Thursday, September 6, 2012 7:21 PM
>Subject: Re: [thelist] CSS in WordPress: spacing is different between two pages and I can't find the difference
> 
>On 06/09/2012 9:54 AM, Joel Canfield wrote:
>> creating a WordPress theme.
>>
>> on this page  http://splitstrategy.com/design/ the image is bang against
>> the triple-dot underline, as desired.
>>
>> on this page  http://splitstrategy.com/content-creation/ it is not.
>>
>> it's not the image.
>>
>> ideas?
>>
>> joel
>>
>
>Assuming that you're working on the bottom one
>
>div#wrapper.hfeed div#main div#container div#content div#post-22 
>div.entry-content div#content-image div
>
>(That is, the div that wraps the bottom 3 row dotted image)
>
>needs to be assigned a height. I just tried adding an inline style via 
>firebug and that worked. Try adding an inline style border to see what 
>the behaviour is.
>
>Also, I noticed somewhere that you had assigned a bottom margin of -8px. 
>Maybe that's the cause?
>-- 
>
>* * Please support the community that supports you.  * *
>http://evolt.org/help_support_evolt/
>
>For unsubscribe and other options, including the Tip Harvester
>and archives of thelist go to: http://lists.evolt.org
>Workers of the Web, evolt ! 
>
>
>


More information about the thelist mailing list