runnerjp Posted November 23, 2007 Share Posted November 23, 2007 hey guys simply really how can i make it so the table is in the very top left of the page as there is always a gap around it?? Link to comment https://forums.phpfreaks.com/topic/78566-solved-placing-table-in-very-top-left/ Share on other sites More sharing options...
calabiyau Posted November 23, 2007 Share Posted November 23, 2007 Hard to know without seeing all the code but may be as simple as applying body { margin: 0; padding: 0;} in your css Link to comment https://forums.phpfreaks.com/topic/78566-solved-placing-table-in-very-top-left/#findComment-397663 Share on other sites More sharing options...
runnerjp Posted November 23, 2007 Author Share Posted November 23, 2007 well if i use tables as my layout my table nice fully goes 0,0 it always is around 0.2,0.2 is that better Link to comment https://forums.phpfreaks.com/topic/78566-solved-placing-table-in-very-top-left/#findComment-397772 Share on other sites More sharing options...
AdRock Posted November 23, 2007 Share Posted November 23, 2007 You should never use tables for layout anyway....you should be using css and divs. As calabiyau said I would use something like html, body { margin: 0 auto; padding: 0; } Link to comment https://forums.phpfreaks.com/topic/78566-solved-placing-table-in-very-top-left/#findComment-397822 Share on other sites More sharing options...
runnerjp Posted November 24, 2007 Author Share Posted November 24, 2007 bang this did trick body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px } i ifnd table easy to work with and after all many websites still use them e.g google Link to comment https://forums.phpfreaks.com/topic/78566-solved-placing-table-in-very-top-left/#findComment-398073 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.