Hi guys,
my problem related with CSS and xhtml i want to use css class in <div> and that css class have page-break-inside property which will use for <div> but when used it like that <div class"block"> it does not reflect on page , on the other hand if i use like that <div style="page-break-inside:avoid"> its working well on page.

so, how can we use this css by making class , please suggest us if anyone have an idea about.