On Tue, Mar 6, 2012 at 5:17 PM, Alan Vickery <[email protected]> wrote:
> Hi
> This is my first time posting to  css.discuss. I was pointed here by
> wordpress.org
>
> I'm building (or trying to) a completely custom theme from scratch.
> Its taking me a while to do but I think a better understanding of the
> themes will pay off in the long run.

Me too.  I'm currently trying to get my head around the plugin API so that I can
understand how to add some useful theme options to the theme... ugh!


> Anyway, I'm having a problem that I just can't get the answer to.
>
> The main content has a content box with 3 div's in it.
> The top and bottom div is just for an effect on the site while the middle
> div contains the page and post content.
>
> The problem is, I can't close the gap between the 3 div's to give me the
> effect I want.
>
> Here is the site:
> http://thevickerys.eu/
>
> as you can see on the home page and the sample page the gap is closed
> between the first and second div bit I can't close the lower div up to the
> second div.
>
> On the next sample page I can't close the gap between all 3 div's.
> Here is the css that related to the 3 divs.
>
...
>
> I have been at this for days and I can't move on until I fix this..... its
> driving me nuts and I'm starting to loose hope in it.
>
> Can anyone help???????

I currently only see the problem on the main page.

If you add overflow:hidden to div.content, it prevents the margin on div.content
from collapsing with the margins of its child elements and fixes the problem.

The bottom margin on p.location is extending beyond the bottom of div.content
and effectively pushing div.contentborderbottom down.

--
Vince Aggrippino
Ghodmode Development
http://www.ghodmode.com


> --
> Alan Vickery
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to