css html footer -
I am writing this question to better understand this problem:
My There are 3 output mechanisms:
generated using the same media type as the PDF screen are doing.
On the screen: I just want the footer to appear below the content ... simple ... easy!
PDF: I want to display the footer at the bottom of the last page of the content
Print: As above, I have a footer in the bottom of the last page of the content I want to display
The problem is: If I set the full position for the media type = print two problems:
- Its PDF display has no effect
- If the content is spread across multiple pages, then Under Prahlad article content is printed at the bottom of the first page.
If on screen - I need a footer to display below a fictional page, so that when the PDF is ready, it will appear under the last GE < / P>
If on print - I need the footer to display at the bottom of the last page of the content
You can define 2 stylesheets for the page; 1 for "Screen" and 1 for "Print" link to them like this:
& lt; LINK rel = "stylesheet" type "text / css" href = "screen.css" media = "screen" & gt; & Lt; LINK rel = "stylesheet" type "text / css" href = "print.css" media = "print" & gt;
In this way, you have a total separation of how your device should present your page.
Comments
Post a Comment