"Jason Johnston" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >>>>THERE > >>>>IS > >>>>NO > >>>>ONBEFOREPRINT. > >>>> > >>>>There has never been, there isn't, and there will never be. What M$ says > >>>>doesn't matter. > >>> > >>> > >>>I use it on all my web sites to optimze the print out. > >> > >>Wouldn't it be better to use a print media style sheet? I don't if > >>mozilla or IE supports them yet (I don't print). > > > > > > All the absolut positioned DIVs have to be moved around > > for print out. This is done by a Javascript. > > > You can also move absolutely positioned divs around with a print media > style sheet, as Neil suggested: > > > #theDiv {position:absolute;} > > @media screen { > #theDiv {left:0px; top:0px;} > } > > @media print { > #theDiv {left:400px; top:300px;} > }
I thought about this. But I want only one CSS per domain. Per page are about 20 DIV absolute. But how to solve to change the CSS for different screen sizes? I have just right now DIV positions for VGA SVGA XVGA large screens like 1600 x 1200 print put Is is possible to load several CSS? Maybe one general and one with the positions for a certain resolution. How to swicht between them? -- Roland M�sl http://pege.org Clear targets for a confused civilization http://BeingFound.com Web Design starts at the search engine
