Sent by Porter Glendinning on 24 April 2002 14:02
At 13:59 4/24/02, Dunstan Orchard digitized these thoughts:
>I can't understand why the following code won't center the text inside
>the span? Any ideas as to what I'm doing wrong?
Only block-level elements can have a text-align property set, and span
is an inline-level element. Try something like this instead:
<p>Your search for <em>xhtml</em> found the following documents
(of 89 documents searched).</p>
<div style="text-align:center;">XHTML BOOK NOW OUT</div>
<p>Displaying documents 11-20 of 44, with best matches first:</p>
- Porter
+--------------------------------------------------------+
| Porter Glendinning [EMAIL-REMOVED] |
| Web/UI Commando http://www.glendinning.org |
+--------------------------------------------------------+
| Porter's Workshop - http://www.serve.com/apg/workshop/ |
+--------------------------------------------------------+