coolpro Posted July 23, 2008 Share Posted July 23, 2008 1) At first display was none, i use javascript to display it when the event happens, and i use clientX and clientY to use absolute position in window. Of course, first i have to change display:none to other value. Is it big difference between using display:inline or display:block in my case? If not, why? 2) What is the difference between position:fixed and postion:absolute? Thanks for answers Quote Link to comment https://forums.phpfreaks.com/topic/116171-solved-display-value-when-positionabsolute/ Share on other sites More sharing options...
haku Posted July 23, 2008 Share Posted July 23, 2008 1) Maybe. You haven't given us enough information to say. 2) position fixed means that it will stay in the same position even if you scroll down on the screen. Position absolute means it will stay wherever you position it, but won't scroll. Why don't you try these things out and see for yourself? It's usually easier than asking. Quote Link to comment https://forums.phpfreaks.com/topic/116171-solved-display-value-when-positionabsolute/#findComment-597501 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.