Sent by Porter Glendinning on 3 April 2002 13:01
At 00:47 4/3/02, Big John digitized these thoughts:
> > spans do float, don't they?
>
>No they don't (or they shouldn't). Floats require a specified
>width, but <span>s don't allow them.
All you have to do to get around that is set the display of the span to
"block" and you can float it legally. Try something like this:
.dropcap {
display: block;
width: 1em;
float: left;
font-size: 300%;
text-align: center;
color: #900;
}
<p><span class="dropcap">L</span>orem ipsum dolor sit amet,
consectetaur adipisicing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua.</p>
- Porter
+--------------------------------------------------------+
| Porter Glendinning [EMAIL-REMOVED] |
| Web/UI Commando http://www.glendinning.org |
+--------------------------------------------------------+
| Porter's Workshop - http://www.serve.com/apg/workshop/ |
+--------------------------------------------------------+