Jump to content

My page isn't scrolling!


Jazza

Recommended Posts

I have created a website in HTML/CSS, and when I preview the site in google chrome/ explorer is doesnt scroll down to other parts of the page. I have tried the HTML code, Overflow:scroll; but no luck. This its one of the elements I have created, that goes over the page and #mediumsquare{width:300px;height:250px;background-color:#339;position:fixed;top:520px;left:500px;} Thanks

Link to comment
Share on other sites

Whenever you position: fixed something, it goes out of the flow of the webpage and stays exactly where you position it no matter what. It will stay fixed on the page 520px from the top and 500px from the left no matter how much you scroll etc.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...