On Dec 13, 1:17 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Dec 12, 8:10 pm, krithika <[EMAIL PROTECTED]> wrote: > > > 1.Is their any restrictions that Frames can be constructed/deleted > > only based on DOM changes and it cannot be added to deleted otherwise > > (without modifying DOM)?. > > Right. You must not alter the frame tree yourself from "outside" > layout. > > > 2. Is it possible to add/remove nsIFrame in routines of > > nsSimplePageSequence.cpp?.If yes is it advisable? > > It's probably unadvisable. > > > These inputs will help make a big design level design on my > > requirement. > > If you tell us your needs we might be able to give some advice. > > Rob
Thanks for your valuable inputs. Iam trying to add footnotes to my html documents in print. I need to place few lines of text in each page (similar to footnotes for printing) and they vary for each page. I cannot do it in DOM as I do not know where page will break. So if I can add some frames without touching DOM before printing I think I can achieve this. I thought of these ideas.But each have some limitation. 1. css property orphans for leaving some space at the bottom of pages and then adding these notes by tweaking Post Script writer.But orphans does not work in FireFox. 2. Using fixed position div.This allows fixed amount of space in all pages whether I have notes for that page or not. Is it possible to have different margins for each page in printing?. Also can you tell me where Fixed Position elements handled before printing?. Thanks in Advance, Krithika _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

