- From: Rainer Åhlfors <rahlfors@wildcatsoftware.net>
- Date: Wed, 11 Oct 2006 13:19:10 -0600
- To: <www-style@w3.org>
You certainly _could_ make them scale. Rainer Åhlfors -----Original Message----- From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of Joe Wells Sent: Wednesday, October 11, 2006 1:05 PM To: Allan Sandfeld Jensen Cc: www-style@w3.org Subject: Re: floats vs. page breaks Allan Sandfeld Jensen <kde@carewolf.com> writes: > On Wednesday 11 October 2006 06:44, Joei >> Comments? > > Very interesting problem. Thanks. ☺ I was hoping the answer would not be "very interesting problem", because that means there is no good solution. >> Is there a solution? > > Well, you could set orphans up to number of lines the drop cap/float > covers, but besides that it would be a very hard problem to solve. > > So if a drop cap covers three lines, then set orphans to 3. That indeed seems like it could work in the case where drop caps are scaled text. Perhaps a note to this effect should accompany the suggestion in the CSS standard about how to do drop caps via a style on :first-letter. Unfortunately, this will not be a reliable solution for image floats, because they won't be scaled with the text fonts when the user decides to have a different font size. Thanks for your thoughts! -- Joe
Received on Thursday, 12 October 2006 02:16:23 UTC