开发者

Blank space on the bottom of my web page

开发者 https://www.devze.com 2023-02-20 19:10 出处:网络
There\'s a lot of blank spac开发者_运维百科e at the bottom of my web page. I used some CSS to set things up how I wanted them to be layed out, and I think somehow I did something that\'s causing all

There's a lot of blank spac开发者_运维百科e at the bottom of my web page.

I used some CSS to set things up how I wanted them to be layed out, and I think somehow I did something that's causing all the extra blank space.

Any ideas what I can do to reduce that blank space at the bottom?

Thanks!


It's because your .right1 class is set to postion:relative You need to make it absolute. Here is a UPDATED fixed version: http://jsfiddle.net/AQq6T/2/


I mean this in the nicest way possible: moving elements into place with a massive top value like you're doing with top: -540px; is rarely a good method to use.

Most of the code behind the page could do with some reworking, but you can quickly fix the issue you're describing; on .right1, set:

position: absolute;
top: 0;
right: 50px;
0

精彩评论

暂无评论...
验证码 换一张
取 消