...

View Full Version : No page break



JAVAEOC
01-06-2004, 06:48 PM
how can i defin no page break for an element in css?

Roy Sinclair
01-06-2004, 08:44 PM
This should help: http://www.w3.org/TR/CSS2/page.html#page-breaks

JAVAEOC
01-06-2004, 09:20 PM
ok....

but which one do i use?

.directory{
page-brake-inside: avoid;
}

or


.directory{
page-brake-after: avoid;

or


.directory{
page-brake-before: avoid;
}

Roy Sinclair
01-06-2004, 10:25 PM
I don't know which ones to use or even whether the browsers will support them. You're going to have to try them to see if they have any effect at all, best to try them with multiple browsers so you can compare the results.

Printing from web pages isn't an exact science yet, the browsers so far are too weak to handle such chores well.

JAVAEOC
01-08-2004, 10:11 PM
i tried them all but none seems to work...

can some one please give me a example...

thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum