יום שני, 13 באפריל 2009

14.9 Print

אפשרויות הגדרת ההדפסה ב- CSS, תוכננו לסייע למתן הגדרות הדפסה לעמודי HTML והן כוללות מספר מאפיינים המפורטים בטבלה שלמטה, כשלכל מאפיין, מספר ערכים אפשריים.
התכונות page-break-before או page-break-after, מאפשרים לקבוע את מעבר הדף.
תוכל לקבוע מעבר הדפסה אשר אוטומטית יהיה מכוון למדית ה-print, כך:

P.LFP{page-break-after:always;}


Property

Description

Values

orphans

Sets the minimum number of lines for a paragraph that must be left at the bottom of a page

number

marks

Sets what sort of marks should be rendered outside the page box

none
crop
cross

page

Sets a page type to use when displaying an element

auto
identifier

page-break-after

Sets the page-breaking behavior after an element

auto
always
avoid
left
right

page-break-before

Sets the page-breaking behavior before an element

auto
always
avoid
left
right

page-break-inside

Sets the page-breaking behavior inside an element

auto
avoid

size

Sets the orientation and size of a page

auto
portrait
landscape

widows

Sets the minimum number of lines for a paragraph that must be left at the top of a page

number


 הקודם  הבא  


אין תגובות:

הוסף רשומת תגובה