On Apr 18, 9:01 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > krithika wrote: > > nsresult rv = content->SetAttr(kNameSpaceID_XHTML, > > styleAtom,styleValue, PR_TRUE); > > That doesn't actually set the HTML "style" attribute. You want > kNameSpaceID_None for that. > > > Please let me know how do I recreate the print presentations after I > > insert the attribute. > > No idea. How did you create it to start with? Do that again? > > -Boris
In the saved dom i cound see style attribute anyway I will try with kNameSpaceID_None. I created the print presentation by doing a printpreview. But I tried doing an exitPrintPreview after inserting the style attribute and then calling printPreview again but it does not reflow to give the modified effect. This is really showstopper for me. thanks, Krithika _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

