Jump to content
funbinod

setting page break

Recommended Posts

hello all!

i was trying to set page break while printing my html page after every 4 table rows.

can anyone guide me???

 

thanks in advance.

Share this post


Link to post
Share on other sites

To add a page break, use the page-break-after rule. To select every fourth row, use the :nth-child selector with the formula 4n

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×