Previous Message
Next Message

[css-d] align some text to right

Sent by Michael Collins on 8 February 2002 17:05


Simple question (I hope). I want some text to align to the right side 
of a line but remain on the same line as the text on the left side. 
The following approach puts the two bits of text on separate lines:

(defined in an external stylesheet:)
.title { font-weight:bold;color:#606; }

<p class="title">Michael Collins<span style="float:right;"><a 
href="default.html">Return to Home</a></span>

How to accomplish this?

In the past I have used a table with a align="right" for the cell 
that contains the text to be positioned to the right.

-- 
Michael
__
||| Michael Collins       |||
||| Kuwago Web Services   |||      [EMAIL-REMOVED]
||| Seattle, WA, USA      |||      http://www.lassodev.com
Previous Message
Next Message

Message thread: