Ulixava Posted June 15, 2012 Share Posted June 15, 2012 How can I get the left & top values in my CSS code to always start from 0? When I create more "classes / interfaces" the left and top values are normally pushed down for a bit. How can I make it to always start from the left-top corner in my browser window? Thanks, Alex Quote Link to comment https://forums.phpfreaks.com/topic/264208-getting-left-top-values-to-always-start-from-0-0-position/ Share on other sites More sharing options...
smoseley Posted June 15, 2012 Share Posted June 15, 2012 position: absolute; Quote Link to comment https://forums.phpfreaks.com/topic/264208-getting-left-top-values-to-always-start-from-0-0-position/#findComment-1354036 Share on other sites More sharing options...
Mahngiel Posted June 15, 2012 Share Posted June 15, 2012 position: absolute; this will only work effectivly if you've set *{position: relative;} Quote Link to comment https://forums.phpfreaks.com/topic/264208-getting-left-top-values-to-always-start-from-0-0-position/#findComment-1354037 Share on other sites More sharing options...
smoseley Posted June 15, 2012 Share Posted June 15, 2012 position: absolute; this will only work effectivly if you've set *{position: relative;} How do you figure? Did you read the OP? Quote Link to comment https://forums.phpfreaks.com/topic/264208-getting-left-top-values-to-always-start-from-0-0-position/#findComment-1354043 Share on other sites More sharing options...
Ulixava Posted June 15, 2012 Author Share Posted June 15, 2012 Thanks both of you for the help! Quote Link to comment https://forums.phpfreaks.com/topic/264208-getting-left-top-values-to-always-start-from-0-0-position/#findComment-1354070 Share on other sites More sharing options...
Mahngiel Posted June 15, 2012 Share Posted June 15, 2012 How do you figure? Did you read the OP? Honestly, i only read half the OP. Quote Link to comment https://forums.phpfreaks.com/topic/264208-getting-left-top-values-to-always-start-from-0-0-position/#findComment-1354115 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.