Hello there,
Whats the suggested method for keeping a leading paragraph next to the image/table without a page break being stuck inbetween?
Is it a manual process to go through the text and select the paragraph properties so that a page break is avoided? or is there a clever css way of doing this whereby I can tag the paragraph with a special style that means it is referring to a table that follows?
Im about to go through and apply this across my 500page manual, so am hoping to do it the most efficient way from the outset!
cheers
peteB
"See table below" but then page break between text and table
-
peterbrown05
- Propeller Head
- Posts: 52
- Joined: Fri Jun 18, 2010 9:08 am
-
ajturnersurrey
- Sr. Propeller Head
- Posts: 348
- Joined: Fri Nov 05, 2010 3:30 am
Re: "See table below" but then page break between text and table
In similar situations I have defined a paragraph class p.keepwithnext which I apply to any paragraph I'd like to stick to the following table/figure.
p.keepwithnext
{
page-break-after: avoid;
column-break-after: avoid;
}
This does the trick for my manuals.
p.keepwithnext
{
page-break-after: avoid;
column-break-after: avoid;
}
This does the trick for my manuals.
-
peterbrown05
- Propeller Head
- Posts: 52
- Joined: Fri Jun 18, 2010 9:08 am
Re: "See table below" but then page break between text and table
very nice. works like a charm.
many thanks.
p
many thanks.
p