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? 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; } 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
Archived
This topic is now archived and is closed to further replies.