0

I've obviously screwed up somewhere with the height in my webpage. I'm getting a massive amount of white space at the bottom of the page, way after the content. I can't find the specific problem, I've tried many different things. I thought it was time for someone else to take a look.

Here's the url:

Thanks!

LearningProcess
  • 607
  • 1
  • 8
  • 29
  • remove your img tag inside your form with the `width: 110%;` and height: `150%;` or you can use this `width: 100%; height: auto;` in your img tag inside of the form – Jrey Nov 04 '15 at 02:54

2 Answers2

1

It looks like this is the issue:

img {
  width: 110%;
  height: 150%;
}

Which is causing this image to enlarge greatly:

<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

For images, I tend to use the following:

img {
  height: auto;
  max-width: 100%;
}
Pete
  • 532
  • 5
  • 11
0

Somewhere on your page, you have this CSS:

img {
    width: 110%;
    height: 150%;
}

This is making a 1x1 image from PayPal form extremely big, and causing that big space. You should edit that code and make it apply only to the images you want, and not every image in your website.

Amar Syla
  • 3,523
  • 3
  • 29
  • 69