ttrenka
05.02.2002, 15:06
Hello all,
I've got a problem here that I can't for the life of me figure out quickly, so I figured I'd post a new topic....
I've got a web-based invoice I'm working on. The details of the invoice (each chargeable line item) appears on the resultant page in a row of a <table>. However, the spec for the invoice calls for the totals line(s) to appear at the bottom of the container, no matter how many detail items appear.
I have to use a table for this (that's what it is for) and the totals line should (probably) be the last row of that table. The height of the invoice is fixed (672px), and the table should be the same as the height of the invoice (less padding and stuff). I'm developing for IE5.x/6 only (intranet functionality).
I've tried explicitly defining <thead><tbody> and <tfoot> elements and then setting style properties directly (IE6 seems to think that whatever height you define in the TBODY applies to every single row in the TBODY), I've tried tricking the margins of the bottom row so that it fills the empty space (the page is generated solely on the client-side, no server-side functionality)--this works great for on-the-screen, but doubles the height of the page when printed...
I'll probably try a couple of other tricks before I start thinking about absolutely positioning things (which I would prefer to avoid if I can help it, and not too sure it would be a good solution anyways).
Does anyone have any ideas?
Tom Trenka
I've got a problem here that I can't for the life of me figure out quickly, so I figured I'd post a new topic....
I've got a web-based invoice I'm working on. The details of the invoice (each chargeable line item) appears on the resultant page in a row of a <table>. However, the spec for the invoice calls for the totals line(s) to appear at the bottom of the container, no matter how many detail items appear.
I have to use a table for this (that's what it is for) and the totals line should (probably) be the last row of that table. The height of the invoice is fixed (672px), and the table should be the same as the height of the invoice (less padding and stuff). I'm developing for IE5.x/6 only (intranet functionality).
I've tried explicitly defining <thead><tbody> and <tfoot> elements and then setting style properties directly (IE6 seems to think that whatever height you define in the TBODY applies to every single row in the TBODY), I've tried tricking the margins of the bottom row so that it fills the empty space (the page is generated solely on the client-side, no server-side functionality)--this works great for on-the-screen, but doubles the height of the page when printed...
I'll probably try a couple of other tricks before I start thinking about absolutely positioning things (which I would prefer to avoid if I can help it, and not too sure it would be a good solution anyways).
Does anyone have any ideas?
Tom Trenka