• Resolved richleppard

    (@richleppard)


    This one has stumped me due to my sketchy knowledge of css. I have been tearing my hair out on this one. I am building this:

    http://www.leeslearners.co.uk

    but as you can see there is a gap after my content. I have tried to select the area using web developer plugin but it is an empty area, just can’t seem to make it collapse (It corresponds with where the ‘edit’ link would be when signed in). Any help would be appreciated.

    rich

Viewing 2 replies - 1 through 2 (of 2 total)
  • in style.css of ypour theme:

    probably caused by the 10px bottom margin of:

    p {
    	margin: 4px 0 10px;
    }

    possible fix:
    add a 10 px bottom padding to:

    #mainback {background-image: url('images/mainback.png');
    padding: 0px 30px 0 20px;
    margin:0;
    }
    Thread Starter richleppard

    (@richleppard)

    Thank you thank you! I had a feeling it was in the css already and I had just missed it. I knocked off the 10px margin on the ‘p’ class. I dont need it as I have the bottom gif as a spacer. Really appreciate a set of fresh and knowledgeable eyes finding this as it was driving me mad. thanks again.

    rich

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘hole in div’ is closed to new replies.