Reputation: 7758
I have a site that has a CSS layout and shouldn't have a scrollbar appear:
But a scrollbar appears, I can't figure it out can anyone help please?
Upvotes: 0
Views: 48
Reputation: 5593
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.
Upvotes: 2
Reputation: 298196
Your problem is on line 43
of style.css
:
overflow-y: scroll;
Change it to:
overflow-y: auto;
Upvotes: 1