CHeighlund
Programmer
I'm working on a web form project (or, more precisely, web-based output for the results of a desktop-located form). As some of the form questions may have multiple answers, I figured I needed to break the (printed) page at certain locations, so all of the answers to a question are on the same page as the question itself.
In the past, I have used a specific inhouse stylesheet to make pagebreaks. Now however, for some reason, it doesn't appear to be working correctly. At the moment, I'm only able to test this on Internet Explorer; I'm having other problems elsewhere in the code with Firefox.
This is the stylesheet link reference:
This is the complete contents of the file 'cancelheader.css':
Am I doing something wrong with the code, or the way I'm pulling it into the page, or is this simply a case of IE not wanting to behave itself with the stylesheet?
In the past, I have used a specific inhouse stylesheet to make pagebreaks. Now however, for some reason, it doesn't appear to be working correctly. At the moment, I'm only able to test this on Internet Explorer; I'm having other problems elsewhere in the code with Firefox.
This is the stylesheet link reference:
Code:
<link rel="stylesheet" type="text/css" href="cancelheader.css"/>
This is the complete contents of the file 'cancelheader.css':
Code:
p { page-break-before: always;}
Am I doing something wrong with the code, or the way I'm pulling it into the page, or is this simply a case of IE not wanting to behave itself with the stylesheet?