Would the :first-letter pseudo class work? Kevin
On Wed, May 11, 2011 at 12:53 PM, Lesley Lutomski <c...@islaywebdesign.co.uk>wrote: > Hi all, > > I have a site which uses drop caps at the start of some pages. The code > for this is taken more or less straight out of Dan Cederholm's "Web > Standards Solutions", apart from the font-family line. > > <span class="drop">A</span> > > .drop {float: left; > font-size: 300%; > line-height: 1em; > margin: 4px 10px 0px 0; > padding: 4px 10px; > border: 2px solid #3F006F; > font-family: "ChromaSSK", Georgia, "Times New Roman", "Nimbus Roman > No9 L", serif; > background-color: #DDDDFF; > } > > In FF4 on Linux, the drop cap doesn't display when the first font in the > list is not available, even though the other fonts are all installed. The > coloured background and the border are displayed, but the letter itself is > missing. Chromium and Epiphany both display it using the first available > font. I can't test in anything else just now. > > Any ideas why this is happening? I'm probably missing something obvious. > HTML & CSS both validate. > > Thanks. > > Lesley > ______________________________________________________________________ > css-discuss [css-d@lists.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/ > ______________________________________________________________________ css-discuss [css-d@lists.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/