Jump to content

Position entire table on site


Angeleyezz

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.