Jazza Posted September 5, 2012 Share Posted September 5, 2012 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 More sharing options...
Don E Posted September 5, 2012 Share Posted September 5, 2012 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 More sharing options...
Jazza Posted September 5, 2012 Author Share Posted September 5, 2012 Wow, I didn't know that. So what position do you think I should use? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now