Angeleyezz Posted February 13, 2012 Share Posted February 13, 2012 Does anyone know how I can position an entire table somewhere on my page, what im trying to do is move a few tables at fixed positions for printing invoices from a sql / php document. I got the margin top code working for the top of the page where the document is supposed to start under the letterhead, but now I have a dynamic table thats going to ajust and i need to fix the position of the table under it. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/257087-position-entire-table-on-site/ Share on other sites More sharing options...
Angeleyezz Posted February 14, 2012 Author Share Posted February 14, 2012 nevermind i figured it out. assigned classes to it table.invoice { margin-top: 15%; padding: 0; width: 100%; background-color: #000000; } table.total { margin-top: 45%; margin-left: 75%; padding: 3; width: 25%; background-color: #000000; text-align: left; } table.tearoff { margin-top: 60%; padding: 0; width: 100%; background-color: #000000; text-align: left; } Quote Link to comment https://forums.phpfreaks.com/topic/257087-position-entire-table-on-site/#findComment-1317929 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.