# html and pagebreaks

**URL:** <https://forum.servoy.com/t/html-and-pagebreaks/1920>\
**Category:** Classic Servoy\
**Created:** [May 20, 2004, 8:27pm UTC](https://forum.servoy.com/t/html-and-pagebreaks/1920 "2004-05-20T20:27:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [May 20, 2004, 8:27pm UTC](https://forum.servoy.com/t/html-and-pagebreaks/1920/1 "2004-05-20T20:27:00Z")

</div>

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

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

```

And, when I calculated the break point I do:

```auto
<P CLASS='breakhere'>

```

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

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [May 21, 2004, 7:13am UTC](https://forum.servoy.com/t/html-and-pagebreaks/1920/2 "2004-05-21T07:13:23Z")

</div>

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
