simonp Posted December 13, 2011 Share Posted December 13, 2011 Hi, I need the HTML on my page to start right up against the left hand side of the page - currently (with no formatting) it indents it a little. Any ideas how to get around this? Cheers Simon Quote Link to comment https://forums.phpfreaks.com/topic/253096-start-from-left-side-of-page-get-rid-of-border-indent/ Share on other sites More sharing options...
sunfighter Posted December 13, 2011 Share Posted December 13, 2011 Do a simple css reset. html, body, ul, ol, li, form { margin: 0; padding: 0; } Add what you need. Quote Link to comment https://forums.phpfreaks.com/topic/253096-start-from-left-side-of-page-get-rid-of-border-indent/#findComment-1297543 Share on other sites More sharing options...
simonp Posted December 13, 2011 Author Share Posted December 13, 2011 Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/253096-start-from-left-side-of-page-get-rid-of-border-indent/#findComment-1297567 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.