Εμφάνιση ερωτήσεων με ετικέτες: Εμφάνιση όλων των ερωτήσεων

Allowing Widows and Orphans

Changing Default Behavior (CSS) When I'm reading on a computer screen, I hatehatehatedespisehatehatehate "widow and orphan" control. This is especially annoying when rea… (διαβάστε περισσότερα)

Changing Default Behavior (CSS)

When I'm reading on a computer screen, I hatehatehatedespisehatehatehate "widow and orphan" control. This is especially annoying when reading a long narrative passage that reflows so that a break (often a blank paragraph) falls at the bottom or top of a column/page. There are two relevant CSS properties, each taking a nonzero positive integer as an argument:

    widows: [number of lines]
    orphans: [number of lines]

It appears that Firefox has (like most browsers) established a "default" value of 2 in each of these parameters, which seldom appear in site-specific stylesheets. Do Not Want.

Is there a way to change this default behavior to the equivalent of:

    body {
         widows: 1;
         orphans: 1;}

without either (a) breaking anything or (b) having to redo whatever change every time there's a Firefox update?

Ερώτηση από Jaws 2 ημέρες πριν

Τελευταία απάντηση από Jaws 2 ημέρες πριν