> On Mar 18, 2018, at 10:14, John Beales <j...@johnbeales.com> wrote:
> 
> I forgot to mention why I wasn’t doing that ;)
> 
> In real life, the top block is an image in a blog post coming from a CMS,
> so it can be any width. It’s Flores right, and if the image is narrow, or
> the screen is wide, the <p> is beside the image.

Aha! The makes a little more complicated of course.

> I’ve been trying to figure out a better way to lay things out, but it
> doesn’t seem possible.
> 
> I guess a solution would be to take the + selector, which I never use, and
> turn off the drop cap if the <p> is preceded by a floated block.

Or simply don’t use -webkit-initial-letter ? It is still an experimental 
property, with some bugs (if you use web fonts, the first-letter doesn’t use 
them) and I don’t think the Webkit implementation is up-to-date with the latest 
version of the spec (very drafty anyway atm).

And nobody else supports it currently, so you need to do some gymnastics to 
accommodate Gecko on one side and Chrome/Edge/Webkit on the other.

Philippe
--
Philippe Wittenbergh
https://l-c-n.com/






______________________________________________________________________
css-discuss [css-d@css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to