On 5/11/11 3:53 PM, Lesley Lutomski 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
Dunno. Is this a blessing or a "bug."
<https://bugzilla.mozilla.org/show_bug.cgi?id=458169>
<aside>
Personally, I'd accept as a blessing:-) . And reset to sans. Or, drop
altogether... and ditch the drop cap.
Best,
~d
______________________________________________________________________
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/