Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
		            
					Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
					
But I want the block to stay together, ie I don't want the first line of text on one page and the rest of it on the next page. I tried using the  page-break-after: avoid in a div with p's inside but the only way it seems to work is by using  page-break-after: avoid on a p.
So how can I keep the block together but also keep everything on their own lines?