I can't make the drop-cap work on this paragraph, and then get the
paragraph to float left to align. Here is the code below; the URL is
http://www.china-ready.com/colly/chapter04/text1.htm
Thanks in advance,
Paul
/* CSS Document */
/* Specify blanket rules for all elements */
body {
margin: 10px;
border: 1px solid #000;
padding:10px;
font: normal 12px Verdana, Arial, Sans-serif;
line-height:150%;
}
/* paragraph styling */
p {
font: 12px verdana,arial,sans-serif;
text-indent:15px;
}
/* Create drop cap characters */
p dropcap:first-letter {
float: left;
font: 60px "Lucida Grande",Arial,sans-serif;
line-height: 50px;
}
h1, h2 {
letter-spacing:1px;
}
h1 {
font-family: Georgia, Times, serif;
text-transform:uppercase;
}
h2 {
font-family: "Helvetica Neue", Arial, sans-serif;
text-transform:none;
font-style:italic;
}
/* Style the blockquote */
blockquote {
margin: 0 0 0 20px;
line-height:150%;
font: italic small-caps bold 12px verdana,arial,"sans-serif"
}
Gus Richter - 22 Feb 2007 06:14 GMT
> I can't make the drop-cap work on this paragraph, and then get the
> paragraph to float left to align. Here is the code below; the URL is
[quoted text clipped - 11 lines]
> line-height: 50px;
> }
I only looked at that portion above and clearly it is not the same
stylesheet applied to the URL provided.
You should really get your act together.

Signature
Gus
John Hosking - 22 Feb 2007 10:48 GMT
> I can't make the drop-cap work on this paragraph, and then get the
> paragraph to float left to align. Here is the code below; the URL is
> http://www.china-ready.com/colly/chapter04/text1.htm
[Superfluous and incorrect CSS snipped]
width:.05em is pretty small. When FF shifts the rest of your <p>
content, .05em doesn't leave much space for your 12px drop-cap. ;-)
Tips: Don't use px for sizing text.
Don't use transitional in your doctype, use strict.
Turn off your stove shortly before the food is cooked and use the
residual heat to complete the cooking in an energy-efficient way.

Signature
John
Jim Moe - 22 Feb 2007 17:30 GMT
> I can't make the drop-cap work on this paragraph, and then get the
> paragraph to float left to align. Here is the code below; the URL is
> http://www.china-ready.com/colly/chapter04/text1.htm
As John mentioned, remove the width:0.05em from the dropcap style.
Also use a Strict DTD. You are not transitioning from 1995 code are you?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

Signature
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)