Sent by Mark Newhouse on 24 April 2002 14:02
> 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? (popped pre tags
> around it just for this email).
SPANs are inline elements. Centering should only apply to block level
elements.
So - change your code from:
> <p>Your search for <em>xhtml</em> found the following documents (of 89
> documents searched).
> <br />
> <span style="text-align:center;">XHTML BOOK NOW OUT</span>
> <br />
> Displaying documents 11-20 of 44, with best matches first:</p>
to:
<p>Your search for <em>xhtml</em> found the following documents (of 89
documents searched).</p>
<p style="text-align:center;">XHTML BOOK NOW OUT</p>
<p>Displaying documents 11-20 of 44, with best matches first:</p>
And that should get the effect you want.
--Mark Newhouse
We put the "blah" in blog...
<http://homepage.mac.com/iblog/>