Jump to content

My page isn't scrolling!

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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...