开发者

Firefox Scrolbar CSS issue

开发者 https://www.devze.com 2023-03-10 15:54 出处:网络
I have a site that has a CSS layout and shouldn\'t have a scrollbar appear: http://souk.gumpshen.com/ But a scrollbar appears, I can\'t figure it开发者_C百科 out can anyone help please?The height in

I have a site that has a CSS layout and shouldn't have a scrollbar appear:

http://souk.gumpshen.com/

But a scrollbar appears, I can't figure it开发者_C百科 out can anyone help please?


The height in there is causing the scrollbar to appear.

.flower {
    background: url("../images/flowers.png") no-repeat scroll 0 0 transparent;
    height: 400px;
    left: 696px;
    position: relative;
    top: -360px;
    width: 400px;
    z-index: 101;
}

For what you're doing, change top to margin-top and it should fix it.


Your problem is on line 43 of style.css:

overflow-y: scroll;

Change it to:

overflow-y: auto;
0

精彩评论

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