在我的页面的底部和右侧的空间 [英] Space at the bottom and right side of my page

查看:133
本文介绍了在我的页面的底部和右侧的空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是专页: propertytest.uphero.com

我已经将问题缩小到6个蓝色框(顶部3是在一个div下称为优惠,下面3是在div下称为属性)。如果我是把他们带出来,空间,但我真的想保持他们,所以我需要有人帮助我解决它,使我可以保持框,在页脚下没有空间。

I have narrowed down the problem to the 6 blueish boxes (the top 3 are under a div called offers and the 3 below that are under a div called properties). If I was to take them out, the space goes but I would really like to keep them in so I need someone to help me troubleshoot it so that I can keep the boxes and have no space below the footer.

我认为我的问题在于他们的位置是相对的(所有的div都是相对的 - 坏的想法,我现在意识到)。

I think my problem lies with the fact they are positioned with relative (all divs are positioned relative - bad idea I now realize that).

我试过:


  • 定位 - 这是摆脱底部/右边的空间的窍门,但是如果我缩小浏览器,框出去位置。

  • aligning the 2 divs with absolute positioning - that does the trick of getting rid of the space at the bottom/right however if I was to scale down the browser, the boxes go out of position..

删除所有定位,并将它们向左/右移动 - 删除底部/右侧的空间,但不进入我想他们的位置(我不认为你可以定位浮动与顶部/底部/ left / right或margin?)

removing all positioning and floating them to the left/right - removes the space at the bottom/right but doesn't go into the position I would like them to ( I don't think you can position floats with top/bottom/left/right or margin? )

推荐答案

我认为主要问题是身体背景图片。您已使用大小为1300px * 1000像素的图片。我想你必须使用 1px宽度的图像与重复属性。。底部的白色空间是由于底部订单和属性的属性div

I think main problem is body background image. You have used image of 1300px * 1000px size. i think you must use image of 1px width with repeat property.. And white space at bottom come due to bottom property of orders and properties div`

感谢。

这篇关于在我的页面的底部和右侧的空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆