html and pagebreaks

I print a html formatted page and put this in the header:

<STYLE TYPE='text/css'>
     P.breakhere {page-break-after: always}
</STYLE>

And, when I calculated the break point I do:

<P CLASS='breakhere'>

Unfortunately it looks like this doesn’t work. Any suggestions? Is it me or the html support of Sun?

does it work in the normal internet browsers? (ie/mozilla,ect)
if so then i think that code is not supported in the html component